From b58f6ede74ee3e61de62388236fae8c35357f970 Mon Sep 17 00:00:00 2001 From: Dennis Klein Date: Fri, 19 Jul 2019 22:54:38 +0200 Subject: [PATCH] Ctest: Disable multiple runs of the tests We tried for a while but it did not help to reduce the unstable coverage number calculated by codecov. --- FairMQTest.cmake | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/FairMQTest.cmake b/FairMQTest.cmake index 81fb2933..7334a4d2 100644 --- a/FairMQTest.cmake +++ b/FairMQTest.cmake @@ -60,17 +60,9 @@ Ctest_Build(BUILD "${CTEST_BINARY_DIRECTORY}") Ctest_Test(BUILD "${CTEST_BINARY_DIRECTORY}" # PARALLEL_LEVEL $ENV{number_of_processors} - PARALLEL_LEVEL 1 + PARALLEL_LEVEL $ENV{number_of_processors} RETURN_VALUE _ctest_test_ret_val ) -If("$ENV{do_codecov_upload}") - ForEach(i RANGE 4) - # Gather statistics to catch time sensitive branches - Ctest_Test(BUILD "${CTEST_BINARY_DIRECTORY}" - PARALLEL_LEVEL $ENV{number_of_processors} - ) - EndForEach() -EndIf() If(GCOV_COMMAND) Ctest_Coverage(BUILD "${CTEST_BINARY_DIRECTORY}" LABELS coverage)