summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestRunScript
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-10-29 14:00:28 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-10-29 14:00:28 (GMT)
commit5075c255f7b2c5a2625a9f48f5f4948675c29f6b (patch)
tree00abfb16c91ec0928eacbd9d9e2c9d41bb90dc1a /Tests/CTestTestRunScript
parent6eff237c562720c6ff641228d60fbd29918c30c1 (diff)
downloadCMake-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')
-rw-r--r--Tests/CTestTestRunScript/CMakeLists.txt2
-rw-r--r--Tests/CTestTestRunScript/CTestConfig.cmake7
-rw-r--r--Tests/CTestTestRunScript/test.cmake.in4
3 files changed, 13 insertions, 0 deletions
diff --git a/Tests/CTestTestRunScript/CMakeLists.txt b/Tests/CTestTestRunScript/CMakeLists.txt
new file mode 100644
index 0000000..355cabb
--- /dev/null
+++ b/Tests/CTestTestRunScript/CMakeLists.txt
@@ -0,0 +1,2 @@
+cmake_minimum_required (VERSION 2.6)
+PROJECT(CTestTestRunScript)
diff --git a/Tests/CTestTestRunScript/CTestConfig.cmake b/Tests/CTestTestRunScript/CTestConfig.cmake
new file mode 100644
index 0000000..313b105
--- /dev/null
+++ b/Tests/CTestTestRunScript/CTestConfig.cmake
@@ -0,0 +1,7 @@
+set(CTEST_PROJECT_NAME "CTestTestRunScript")
+set(CTEST_NIGHTLY_START_TIME "21:00:00 EDT")
+set(CTEST_DART_SERVER_VERSION "2")
+set(CTEST_DROP_METHOD "http")
+set(CTEST_DROP_SITE "www.cdash.org")
+set(CTEST_DROP_LOCATION "/CDash/submit.php?project=PublicDashboard")
+set(CTEST_DROP_SITE_CDASH TRUE)
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")