diff options
author | Zack Galbreath <zack.galbreath@kitware.com> | 2015-02-17 19:23:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-02-23 15:01:59 (GMT) |
commit | 876a680d4851a39e77b49daa3c670fe2e535c1e6 (patch) | |
tree | 74a2032fe2e2029a6b26d3991771f26957828344 /Tests/RunCMake/ctest_test/RunCMakeTest.cmake | |
parent | 49ba4545c272f5bb00828dfe35e5a63749b4aa43 (diff) | |
download | CMake-876a680d4851a39e77b49daa3c670fe2e535c1e6.zip CMake-876a680d4851a39e77b49daa3c670fe2e535c1e6.tar.gz CMake-876a680d4851a39e77b49daa3c670fe2e535c1e6.tar.bz2 |
ctest_test: Add QUIET option
Diffstat (limited to 'Tests/RunCMake/ctest_test/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/ctest_test/RunCMakeTest.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/ctest_test/RunCMakeTest.cmake b/Tests/RunCMake/ctest_test/RunCMakeTest.cmake new file mode 100644 index 0000000..d906290 --- /dev/null +++ b/Tests/RunCMake/ctest_test/RunCMakeTest.cmake @@ -0,0 +1,10 @@ +include(RunCTest) + +set(CASE_CTEST_TEST_ARGS "") + +function(run_ctest_test CASE_NAME) + set(CASE_CTEST_TEST_ARGS "${ARGN}") + run_ctest(${CASE_NAME}) +endfunction() + +run_ctest_test(TestQuiet QUIET) |