summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ctest_coverage/test.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-02-24 14:12:33 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-02-24 14:12:33 (GMT)
commit206ce77781d7f19a9877caab137d69cc5ce4bb05 (patch)
treec273ae315fd7a59f8b92851199b58a37ee130bfe /Tests/RunCMake/ctest_coverage/test.cmake.in
parent8366b1bd4fff38d2e928edee1f93acdee12365d4 (diff)
parentff1ddd2a73dd04e3015c2bc4ffe345f8c6ca02ee (diff)
downloadCMake-206ce77781d7f19a9877caab137d69cc5ce4bb05.zip
CMake-206ce77781d7f19a9877caab137d69cc5ce4bb05.tar.gz
CMake-206ce77781d7f19a9877caab137d69cc5ce4bb05.tar.bz2
Merge topic 'ctest-output-options'
ff1ddd2a ctest_upload: Add QUIET option 0b87b2a3 ctest_memcheck: Add QUIET option fc58bdb9 ctest_coverage: Add QUIET option 876a680d ctest_test: Add QUIET option 49ba4545 ctest_build: Add QUIET option f999dc0b ctest_configure: Add QUIET option 645ad117 ctest_update: Add QUIET option 19d1a559 ctest_start: Add QUIET option 1643b905 ctest_submit: Add QUIET option 12db1139 CTest: Add cmCTestOptionalLog macro
Diffstat (limited to 'Tests/RunCMake/ctest_coverage/test.cmake.in')
-rw-r--r--Tests/RunCMake/ctest_coverage/test.cmake.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/Tests/RunCMake/ctest_coverage/test.cmake.in b/Tests/RunCMake/ctest_coverage/test.cmake.in
new file mode 100644
index 0000000..1788e66
--- /dev/null
+++ b/Tests/RunCMake/ctest_coverage/test.cmake.in
@@ -0,0 +1,18 @@
+cmake_minimum_required(VERSION 3.1)
+
+set(CTEST_SITE "test-site")
+set(CTEST_BUILD_NAME "test-build-name")
+set(CTEST_SOURCE_DIRECTORY "@RunCMake_BINARY_DIR@/@CASE_NAME@")
+set(CTEST_BINARY_DIRECTORY "@RunCMake_BINARY_DIR@/@CASE_NAME@-build")
+set(CTEST_CMAKE_GENERATOR "@RunCMake_GENERATOR@")
+set(CTEST_CMAKE_GENERATOR_PLATFORM "@RunCMake_GENERATOR_PLATFORM@")
+set(CTEST_CMAKE_GENERATOR_TOOLSET "@RunCMake_GENERATOR_TOOLSET@")
+set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
+set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
+
+set(ctest_coverage_args "@CASE_CTEST_COVERAGE_ARGS@")
+ctest_start(Experimental)
+ctest_configure()
+ctest_build()
+ctest_test()
+ctest_coverage(${ctest_coverage_args})