summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-19 20:17:44 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-04-20 22:31:02 (GMT)
commitfcf9cf6cd8a8299100c571afbacc134932552bb6 (patch)
treeaa015128133e99a281b18d81cefab55e0640790a /Tests
parentf438cd373131b85dd71b1f902c56fb3584cf8f87 (diff)
downloadCMake-fcf9cf6cd8a8299100c571afbacc134932552bb6.zip
CMake-fcf9cf6cd8a8299100c571afbacc134932552bb6.tar.gz
CMake-fcf9cf6cd8a8299100c571afbacc134932552bb6.tar.bz2
Tests: Make a CTest test deterministic.
The test expect sub-test not to run in parallel.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/CTestCommandLine/RunCMakeTest.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/CTestCommandLine/RunCMakeTest.cmake b/Tests/RunCMake/CTestCommandLine/RunCMakeTest.cmake
index 2e5156c..22a8d20 100644
--- a/Tests/RunCMake/CTestCommandLine/RunCMakeTest.cmake
+++ b/Tests/RunCMake/CTestCommandLine/RunCMakeTest.cmake
@@ -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
)