diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-27 20:03:40 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-04-27 20:03:40 (GMT) |
commit | bf24b6c501f1f8c9146153038bb202ae246de7d0 (patch) | |
tree | 55fa15d4b260e6db286184f963a88056dc69ee4d /Tests/CMakeLists.txt | |
parent | dd062b2b50495b5cb9669efe13538fb032586722 (diff) | |
download | CMake-bf24b6c501f1f8c9146153038bb202ae246de7d0.zip CMake-bf24b6c501f1f8c9146153038bb202ae246de7d0.tar.gz CMake-bf24b6c501f1f8c9146153038bb202ae246de7d0.tar.bz2 |
Tests: Guard more CTest tests against parallel execution.
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 0557035..32beffa 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -2415,6 +2415,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release set_tests_properties(CTestCoverageCollectGCOV PROPERTIES PASS_REGULAR_EXPRESSION "PASSED with correct output.*Testing/CoverageInfo/main.cpp.gcov") + set_property(TEST CTestCoverageCollectGCOV PROPERTY ENVIRONMENT CTEST_PARALLEL_LEVEL=) configure_file( "${CMake_SOURCE_DIR}/Tests/CTestTestEmptyBinaryDirectory/test.cmake.in" @@ -2714,6 +2715,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release ) set_tests_properties(CTestTestSkipReturnCode PROPERTIES PASS_REGULAR_EXPRESSION "CMakeV1 \\.* +Passed.*CMakeV2 \\.+\\*+Skipped") + set_property(TEST CTestTestSkipReturnCode PROPERTY ENVIRONMENT CTEST_PARALLEL_LEVEL=) ADD_TEST_MACRO(CTestTestSerialInDepends ${CMAKE_CTEST_COMMAND} -j 4 --output-on-failure -C "\${CTestTest_CONFIG}") |