summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestRunScript/hello.cmake
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-10-26 17:10:46 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-10-26 17:10:46 (GMT)
commit6e3dd78b8ba5ebceade06744806e98038aa2569e (patch)
treef880eb5a2a1156e2f94b0aad35dca76e5f063712 /Tests/CTestTestRunScript/hello.cmake
parentf2284b9c3e425dcd9082eabf2ef58cdf20a837b0 (diff)
downloadCMake-6e3dd78b8ba5ebceade06744806e98038aa2569e.zip
CMake-6e3dd78b8ba5ebceade06744806e98038aa2569e.tar.gz
CMake-6e3dd78b8ba5ebceade06744806e98038aa2569e.tar.bz2
Added test coverage for cmCTestRunScriptCommand
Diffstat (limited to 'Tests/CTestTestRunScript/hello.cmake')
-rw-r--r--Tests/CTestTestRunScript/hello.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/CTestTestRunScript/hello.cmake b/Tests/CTestTestRunScript/hello.cmake
new file mode 100644
index 0000000..e2c652c
--- /dev/null
+++ b/Tests/CTestTestRunScript/hello.cmake
@@ -0,0 +1,6 @@
+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")
+
+message("hello world")