summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ctest_start/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorZack Galbreath <zack.galbreath@kitware.com>2015-02-17 14:58:25 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-23 15:01:59 (GMT)
commit19d1a5599a08f2e8d74c4483cb9ee6d34e38ecba (patch)
tree4ed086b0f3d7ad7f3f98931b836fabe2493d8c8d /Tests/RunCMake/ctest_start/RunCMakeTest.cmake
parent1643b905e02473536d60ef4102d3154a6c8816d1 (diff)
downloadCMake-19d1a5599a08f2e8d74c4483cb9ee6d34e38ecba.zip
CMake-19d1a5599a08f2e8d74c4483cb9ee6d34e38ecba.tar.gz
CMake-19d1a5599a08f2e8d74c4483cb9ee6d34e38ecba.tar.bz2
ctest_start: Add QUIET option
This suppresses all non-error messages that would have otherwise been printed by this function.
Diffstat (limited to 'Tests/RunCMake/ctest_start/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/ctest_start/RunCMakeTest.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/ctest_start/RunCMakeTest.cmake b/Tests/RunCMake/ctest_start/RunCMakeTest.cmake
new file mode 100644
index 0000000..f765a0f
--- /dev/null
+++ b/Tests/RunCMake/ctest_start/RunCMakeTest.cmake
@@ -0,0 +1,10 @@
+include(RunCTest)
+
+set(CASE_CTEST_START_ARGS "")
+
+function(run_ctest_start CASE_NAME)
+ set(CASE_CTEST_START_ARGS "${ARGN}")
+ run_ctest(${CASE_NAME})
+endfunction()
+
+run_ctest_start(StartQuiet Experimental QUIET)