From fcf9cf6cd8a8299100c571afbacc134932552bb6 Mon Sep 17 00:00:00 2001
From: Stephen Kelly <steveire@gmail.com>
Date: Sun, 19 Apr 2015 22:17:44 +0200
Subject: Tests: Make a CTest test deterministic.

The test expect sub-test not to run in parallel.
---
 Tests/RunCMake/CTestCommandLine/RunCMakeTest.cmake | 3 +++
 1 file changed, 3 insertions(+)

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
   )
-- 
cgit v0.12