diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2009-10-29 14:00:28 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2009-10-29 14:00:28 (GMT) |
commit | 5075c255f7b2c5a2625a9f48f5f4948675c29f6b (patch) | |
tree | 00abfb16c91ec0928eacbd9d9e2c9d41bb90dc1a /Tests/CTestTestRunScript/test.cmake.in | |
parent | 6eff237c562720c6ff641228d60fbd29918c30c1 (diff) | |
download | CMake-5075c255f7b2c5a2625a9f48f5f4948675c29f6b.zip CMake-5075c255f7b2c5a2625a9f48f5f4948675c29f6b.tar.gz CMake-5075c255f7b2c5a2625a9f48f5f4948675c29f6b.tar.bz2 |
Fix RunScript test; it should now work on all platforms
Diffstat (limited to 'Tests/CTestTestRunScript/test.cmake.in')
-rw-r--r-- | Tests/CTestTestRunScript/test.cmake.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CTestTestRunScript/test.cmake.in b/Tests/CTestTestRunScript/test.cmake.in index 4afcdd9..b4ccc73 100644 --- a/Tests/CTestTestRunScript/test.cmake.in +++ b/Tests/CTestTestRunScript/test.cmake.in @@ -3,5 +3,9 @@ GET_FILENAME_COMPONENT(CTEST_COMMAND "${CMAKE_COMMAND}" PATH) SET(CTEST_COMMAND "${CTEST_COMMAND}/ctest") SET(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestRunScript") SET(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestRunScript") +SET(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@") +CTEST_START(Experimental) +CTEST_CONFIGURE(BUILD "${CTEST_BINARY_DIRECTORY}") +CTEST_BUILD(BUILD "${CTEST_BINARY_DIRECTORY}") CTEST_RUN_SCRIPT("${CTEST_BINARY_DIRECTORY}/hello.cmake") |