summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ctest_configure/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorZack Galbreath <zack.galbreath@kitware.com>2015-02-17 17:38:52 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-23 15:01:59 (GMT)
commitf999dc0bbf70dcf6167d77a1dedabefa12edaef2 (patch)
treed22f9afddb279068fd7d03dd142a6c7203327c24 /Tests/RunCMake/ctest_configure/RunCMakeTest.cmake
parent645ad117e1c8b3b99fda128daad708a87c0a3f2e (diff)
downloadCMake-f999dc0bbf70dcf6167d77a1dedabefa12edaef2.zip
CMake-f999dc0bbf70dcf6167d77a1dedabefa12edaef2.tar.gz
CMake-f999dc0bbf70dcf6167d77a1dedabefa12edaef2.tar.bz2
ctest_configure: Add QUIET option
Diffstat (limited to 'Tests/RunCMake/ctest_configure/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/ctest_configure/RunCMakeTest.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/ctest_configure/RunCMakeTest.cmake b/Tests/RunCMake/ctest_configure/RunCMakeTest.cmake
new file mode 100644
index 0000000..fc1b02c
--- /dev/null
+++ b/Tests/RunCMake/ctest_configure/RunCMakeTest.cmake
@@ -0,0 +1,10 @@
+include(RunCTest)
+
+set(CASE_CTEST_CONFIGURE_ARGS "")
+
+function(run_ctest_configure CASE_NAME)
+ set(CASE_CTEST_CONFIGURE_ARGS "${ARGN}")
+ run_ctest(${CASE_NAME})
+endfunction()
+
+run_ctest_configure(ConfigureQuiet QUIET)