diff --git a/test/unit/contrib/parallel/CMakeLists.txt b/test/unit/contrib/parallel/CMakeLists.txt index c642e8e800..da289de6b2 100644 --- a/test/unit/contrib/parallel/CMakeLists.txt +++ b/test/unit/contrib/parallel/CMakeLists.txt @@ -2,5 +2,9 @@ # SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik # SPDX-License-Identifier: CC0-1.0 -seqan3_test (buffer_queue_parallel_test.cpp) +include(ProcessorCount) +ProcessorCount(NPROC) +if(NPROC GREATER 1) + seqan3_test (buffer_queue_parallel_test.cpp) +endif() seqan3_test (buffer_queue_test.cpp)