summaryrefslogtreecommitdiffstats
path: root/Tests/CTestUpdateHG.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-06-08 19:58:39 (GMT)
committerBrad King <brad.king@kitware.com>2010-06-08 19:58:39 (GMT)
commit11bdc2b1a13f8bd435cdee271ce435cf533e1aa8 (patch)
tree3396e6ccc36d1477911daeb17b3f3c9005f63eed /Tests/CTestUpdateHG.cmake.in
parent6f9bb934d41912ee0e9beb6a34edecf5667f0fe5 (diff)
downloadCMake-11bdc2b1a13f8bd435cdee271ce435cf533e1aa8.zip
CMake-11bdc2b1a13f8bd435cdee271ce435cf533e1aa8.tar.gz
CMake-11bdc2b1a13f8bd435cdee271ce435cf533e1aa8.tar.bz2
Generalize CTest.Update* test dashboard script helpers
Teach (create|run)_dashboard_script macros to treat the argument as the name of a build tree. Append '.cmake' to generate the dashboard script name. This allows future re-use of the macros for multiple test scripts.
Diffstat (limited to 'Tests/CTestUpdateHG.cmake.in')
-rw-r--r--Tests/CTestUpdateHG.cmake.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/CTestUpdateHG.cmake.in b/Tests/CTestUpdateHG.cmake.in
index f2e5f83..543ddd9 100644
--- a/Tests/CTestUpdateHG.cmake.in
+++ b/Tests/CTestUpdateHG.cmake.in
@@ -145,7 +145,7 @@ run_dashboard_command_line(user-binary)
# Test initial checkout and update with a dashboard script.
message("Running CTest Dashboard Script...")
-create_dashboard_script(dashboard.cmake
+create_dashboard_script(dash-binary
"# hg command configuration
set(CTEST_HG_COMMAND \"${HG}\")
set(CTEST_HG_UPDATE_OPTIONS)
@@ -160,4 +160,4 @@ execute_process(
")
# Run the dashboard script with CTest.
-run_dashboard_script(dashboard.cmake)
+run_dashboard_script(dash-binary)