diff options
author | Brad King <brad.king@kitware.com> | 2009-06-25 14:51:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-06-25 14:51:53 (GMT) |
commit | c8a1621ebff93cab2d1c4acce7a39b8efcb80c9d (patch) | |
tree | c4568c881f3c84426b697a3166d7d02d035aaa3e /Tests | |
parent | cd83f1979da5c2ed39e5824de70f2d84b8b1a4cc (diff) | |
download | CMake-c8a1621ebff93cab2d1c4acce7a39b8efcb80c9d.zip CMake-c8a1621ebff93cab2d1c4acce7a39b8efcb80c9d.tar.gz CMake-c8a1621ebff93cab2d1c4acce7a39b8efcb80c9d.tar.bz2 |
BUG: Fix CTest.UpdateBZR tests to run in parallel
The UpdateBZR and UpdateBZR.CLocale tests should run in different
directories so that they can be executed in parallel.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index eca6d66..6b57444 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -939,8 +939,12 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel ADD_TEST(CTest.UpdateBZR ${CMAKE_CMAKE_COMMAND} -P "${CMake_BINARY_DIR}/Tests/CTestUpdateBZR.cmake" ) + LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/${CTestUpdateBZR_DIR}") + SET(CTestUpdateBZR_DIR "CTest UpdateBZR_CLocale") + CONFIGURE_FILE("${CMake_SOURCE_DIR}/Tests/CTestUpdateBZR.cmake.in" + "${CMake_BINARY_DIR}/Tests/CTestUpdateBZR_CLocale.cmake" @ONLY) ADD_TEST(CTest.UpdateBZR.CLocale ${CMAKE_CMAKE_COMMAND} - -P "${CMake_BINARY_DIR}/Tests/CTestUpdateBZR.cmake" + -P "${CMake_BINARY_DIR}/Tests/CTestUpdateBZR_CLocale.cmake" ) SET_TESTS_PROPERTIES(CTest.UpdateBZR.CLocale PROPERTIES ENVIRONMENT LC_ALL=C) LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/${CTestUpdateBZR_DIR}") |