diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2010-02-03 20:06:29 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2010-02-03 20:06:29 (GMT) |
commit | fe7c4d0c2a240ee5fcde25d595a6f3e9ae84f84d (patch) | |
tree | 0abbf3a649d3383166c04a22c71d22468e13fcff /Tests/CMakeLists.txt | |
parent | 6fe2376e2d907b06da55f6091c1761efe228e3d1 (diff) | |
download | CMake-fe7c4d0c2a240ee5fcde25d595a6f3e9ae84f84d.zip CMake-fe7c4d0c2a240ee5fcde25d595a6f3e9ae84f84d.tar.gz CMake-fe7c4d0c2a240ee5fcde25d595a6f3e9ae84f84d.tar.bz2 |
Add unit test to ensure that CTestCostData scheduling works correctly
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 7defb28..8a83d72 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -1286,6 +1286,17 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel ) CONFIGURE_FILE( + "${CMake_SOURCE_DIR}/Tests/CTestTestScheduler/test.cmake.in" + "${CMake_BINARY_DIR}/Tests/CTestTestScheduler/test.cmake" + @ONLY ESCAPE_QUOTES) + ADD_TEST(CTestTestScheduler ${CMAKE_CTEST_COMMAND} + -S "${CMake_BINARY_DIR}/Tests/CTestTestScheduler/test.cmake" -V + --output-log "${CMake_BINARY_DIR}/Tests/CTestTestScheduler/testOutput.log" + ) + SET_TESTS_PROPERTIES(CTestTestScheduler PROPERTIES + PASS_REGULAR_EXPRESSION "Start 1.*Start 2.*Start 3.*Start 4.*Start 5.*Start 5.*Start 4.*Start 3.*Start 2.*Start 1") + + CONFIGURE_FILE( "${CMake_SOURCE_DIR}/Tests/CTestTestSubdir/test.cmake.in" "${CMake_BINARY_DIR}/Tests/CTestTestSubdir/test.cmake" @ONLY ESCAPE_QUOTES) |