mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 16:46:47 +00:00
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.
This commit is contained in:
parent
8aad6c062b
commit
b58f6ede74
|
@ -60,17 +60,9 @@ Ctest_Build(BUILD "${CTEST_BINARY_DIRECTORY}")
|
||||||
|
|
||||||
Ctest_Test(BUILD "${CTEST_BINARY_DIRECTORY}"
|
Ctest_Test(BUILD "${CTEST_BINARY_DIRECTORY}"
|
||||||
# PARALLEL_LEVEL $ENV{number_of_processors}
|
# PARALLEL_LEVEL $ENV{number_of_processors}
|
||||||
PARALLEL_LEVEL 1
|
PARALLEL_LEVEL $ENV{number_of_processors}
|
||||||
RETURN_VALUE _ctest_test_ret_val
|
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)
|
If(GCOV_COMMAND)
|
||||||
Ctest_Coverage(BUILD "${CTEST_BINARY_DIRECTORY}" LABELS coverage)
|
Ctest_Coverage(BUILD "${CTEST_BINARY_DIRECTORY}" LABELS coverage)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user