summaryrefslogtreecommitdiffstats
path: root/Tests/CTestUpdateCommon.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-06-11 13:44:05 (GMT)
committerBrad King <brad.king@kitware.com>2015-06-11 14:57:20 (GMT)
commitb6667729cb40dec8aff28464152dfa1b7c92decc (patch)
tree5b4a48d70c2dfe5560dcca6a835c3f139fbbe1cf /Tests/CTestUpdateCommon.cmake
parentf9285727dc73365ff190de530a63dffbf725eabd (diff)
downloadCMake-b6667729cb40dec8aff28464152dfa1b7c92decc.zip
CMake-b6667729cb40dec8aff28464152dfa1b7c92decc.tar.gz
CMake-b6667729cb40dec8aff28464152dfa1b7c92decc.tar.bz2
Tests: Simplify CTest.UpdateGIT QUIET mode test
Parameterize the dashboard script generation to configure custom content. Also move state cleanup from previous test back to its block.
Diffstat (limited to 'Tests/CTestUpdateCommon.cmake')
-rw-r--r--Tests/CTestUpdateCommon.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CTestUpdateCommon.cmake b/Tests/CTestUpdateCommon.cmake
index 77b3398..0bb2d30 100644
--- a/Tests/CTestUpdateCommon.cmake
+++ b/Tests/CTestUpdateCommon.cmake
@@ -193,7 +193,7 @@ set(CTEST_BINARY_DIRECTORY \${CTEST_DASHBOARD_ROOT}/${bin_dir})
${custom_text}
# Start a dashboard and run the update step
ctest_start(Experimental)
-ctest_update(SOURCE \${CTEST_SOURCE_DIRECTORY})
+ctest_update(SOURCE \${CTEST_SOURCE_DIRECTORY} ${ctest_update_args})
")
endfunction()