diff options
author | Brad King <brad.king@kitware.com> | 2013-01-30 19:18:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-01-31 15:58:16 (GMT) |
commit | 19f3208a0662113acbbb42178bf83a1f7ce73cac (patch) | |
tree | e9f5e595d5d78eeedbc28006a7107cbc8b4a596b /Tests/CMakeLists.txt | |
parent | da2b0245a380282892be8007f4c3d184a91bcfe0 (diff) | |
download | CMake-19f3208a0662113acbbb42178bf83a1f7ce73cac.zip CMake-19f3208a0662113acbbb42178bf83a1f7ce73cac.tar.gz CMake-19f3208a0662113acbbb42178bf83a1f7ce73cac.tar.bz2 |
Tests: Avoid CTestLimitDashJ crash on Borland 5.8 builds
The test added by commit e378ba5f (Add CTestLimitDashJ test, 2012-12-26)
crashes with CTest compiled by Borland 5.8. There seems to be interaction
among the large number of internal ctest runs. It is probably related to
the undiscovered underlying issue mentioned in commit 32478069 (CTest:
Prevent creation of unbounded number of tests in ctest, 2012-12-18) when
fixing the symptom covered by the CTestLimitDashJ test.
Add --force-new-ctest-process to avoid the crash. Further investigation
will still be needed to identify the true problem.
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 0c75892..10291f7 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -1977,6 +1977,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/ --output-log "${CMake_BINARY_DIR}/Tests/CTestTestParallel/testOutput.log" ) + set(CTestLimitDashJ_EXTRA_OPTIONS --force-new-ctest-process) add_test_macro(CTestLimitDashJ ${CMAKE_CTEST_COMMAND} -j 4 --output-on-failure -C "\${CTestTest_CONFIG}") |