summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestMemcheck/test.cmake.in
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2013-06-03 17:42:18 (GMT)
committerBrad King <brad.king@kitware.com>2013-06-03 17:43:52 (GMT)
commite4e09212c58995a6cfde7d101bc02fce0f7829be (patch)
tree219aa9a80e2c182d3be38d3cccf8f3809c585720 /Tests/CTestTestMemcheck/test.cmake.in
parentc9b75dcd734e2dd09eadbd9b16a6497bae95941c (diff)
parenta4d8c64d10105fd4448ffde6a5d2fb74c1bb4f57 (diff)
downloadCMake-e4e09212c58995a6cfde7d101bc02fce0f7829be.zip
CMake-e4e09212c58995a6cfde7d101bc02fce0f7829be.tar.gz
CMake-e4e09212c58995a6cfde7d101bc02fce0f7829be.tar.bz2
Merge branch 'master' into escape-regex-specials-in-path
Resolve conflicts in Tests/CTestTestMemcheck/CMakeLists.txt by combining changes from both sides.
Diffstat (limited to 'Tests/CTestTestMemcheck/test.cmake.in')
-rw-r--r--Tests/CTestTestMemcheck/test.cmake.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/Tests/CTestTestMemcheck/test.cmake.in b/Tests/CTestTestMemcheck/test.cmake.in
new file mode 100644
index 0000000..6c388c5
--- /dev/null
+++ b/Tests/CTestTestMemcheck/test.cmake.in
@@ -0,0 +1,24 @@
+cmake_minimum_required(VERSION 2.8.9)
+
+# Settings:
+set(CTEST_DASHBOARD_ROOT "@CMAKE_CURRENT_BINARY_DIR@")
+set(CTEST_SITE "@SITE@")
+set(CTEST_BUILD_NAME "CTestTest-@BUILDNAME@-Memcheck@SUBTEST_NAME@")
+
+set(CTEST_SOURCE_DIRECTORY "@CMAKE_CURRENT_BINARY_DIR@/@SUBTEST_NAME@")
+set(CTEST_BINARY_DIRECTORY "@CMAKE_CURRENT_BINARY_DIR@/@SUBTEST_NAME@")
+set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
+set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
+set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
+set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
+set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
+set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
+
+set(CTEST_MEMORYCHECK_COMMAND "@CHECKER_COMMAND@")
+
+@CTEST_EXTRA_CODE@
+
+CTEST_START(Experimental)
+CTEST_CONFIGURE(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)
+CTEST_TEST(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)
+CTEST_MEMCHECK(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)