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/test.cmake.in | |
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/test.cmake.in')
-rw-r--r-- | Tests/RunCMake/ctest_test/test.cmake.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Tests/RunCMake/ctest_test/test.cmake.in b/Tests/RunCMake/ctest_test/test.cmake.in new file mode 100644 index 0000000..1350abe --- /dev/null +++ b/Tests/RunCMake/ctest_test/test.cmake.in @@ -0,0 +1,16 @@ +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_test_args "@CASE_CTEST_TEST_ARGS@") +ctest_start(Experimental) +ctest_configure() +ctest_build() +ctest_test(${ctest_test_args}) |