Tests: Make a CTest test deterministic.

The test expect sub-test not to run in parallel.
This commit is contained in:
Stephen Kelly 2015-04-19 22:17:44 +02:00
parent f438cd3731
commit fcf9cf6cd8
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,8 @@
include(RunCMake)
unset(ENV{CTEST_PARALLEL_LEVEL})
unset(ENV{CTEST_OUTPUT_ON_FAILURE})
run_cmake_command(repeat-until-fail-bad1
${CMAKE_CTEST_COMMAND} --repeat-until-fail
)