summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ctest_coverage/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorZack Galbreath <zack.galbreath@kitware.com>2015-02-17 20:57:26 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-23 15:02:00 (GMT)
commitfc58bdb9ad90ddd41c5336bc1ab2e35fa0f74d41 (patch)
tree1f31cbc8688ad652568ac4005eea084477e2434f /Tests/RunCMake/ctest_coverage/RunCMakeTest.cmake
parent876a680d4851a39e77b49daa3c670fe2e535c1e6 (diff)
downloadCMake-fc58bdb9ad90ddd41c5336bc1ab2e35fa0f74d41.zip
CMake-fc58bdb9ad90ddd41c5336bc1ab2e35fa0f74d41.tar.gz
CMake-fc58bdb9ad90ddd41c5336bc1ab2e35fa0f74d41.tar.bz2
ctest_coverage: Add QUIET option
Diffstat (limited to 'Tests/RunCMake/ctest_coverage/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/ctest_coverage/RunCMakeTest.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/ctest_coverage/RunCMakeTest.cmake b/Tests/RunCMake/ctest_coverage/RunCMakeTest.cmake
new file mode 100644
index 0000000..dd443fc
--- /dev/null
+++ b/Tests/RunCMake/ctest_coverage/RunCMakeTest.cmake
@@ -0,0 +1,10 @@
+include(RunCTest)
+
+set(CASE_CTEST_COVERAGE_ARGS "")
+
+function(run_ctest_coverage CASE_NAME)
+ set(CASE_CTEST_COVERAGE_ARGS "${ARGN}")
+ run_ctest(${CASE_NAME})
+endfunction()
+
+run_ctest_coverage(CoverageQuiet QUIET)