Tests: Disable parallel test execution while running ctest_test

This commit is contained in:
Stephen Kelly 2015-10-27 21:41:36 +01:00
parent 5f14040c34
commit 6a56c8247f
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ add_test(NAME PassingTest COMMAND ${CMAKE_COMMAND} -E echo PassingTestOutput)
add_test(NAME FailingTest COMMAND ${CMAKE_COMMAND} -E no_such_command)
]])
unset(ENV{CTEST_PARALLEL_LEVEL})
run_ctest(TestOutputSize)
endfunction()
run_TestOutputSize()