Increase sample size to catch time sensitive branches

and stabilize coverage diff reports.
This commit is contained in:
Dennis Klein 2018-08-03 01:50:21 +02:00 committed by Dennis Klein
parent 9184d5bdae
commit aee2ba7b9b

View File

@ -58,6 +58,14 @@ Ctest_Test(BUILD "${CTEST_BINARY_DIRECTORY}"
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)