summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestRunScript
diff options
context:
space:
mode:
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")