summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-06-10 12:24:27 (GMT)
committerBrad King <brad.king@kitware.com>2010-06-10 12:24:27 (GMT)
commit376fb31d1a1cc227826e02348c78087aa3107fc8 (patch)
tree7d050bb16748b2d1dd494a495a3470dae2bcd7a3 /Tests
parentc452d5b646183f665cabdfc8b85c899217cd2118 (diff)
downloadCMake-376fb31d1a1cc227826e02348c78087aa3107fc8.zip
CMake-376fb31d1a1cc227826e02348c78087aa3107fc8.tar.gz
CMake-376fb31d1a1cc227826e02348c78087aa3107fc8.tar.bz2
Run CTest.NoNewline test using built CMake
Even though this test is checking that the ctest running it can handle test output without newlines we should run the just-built CMake binary. This allows the MemCheck test mode to check the correct CMake.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 1b8f4f3..26dd2f9 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -1076,7 +1076,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
# Make sure CTest can handle a test with no newline in output.
ADD_TEST(CTest.NoNewline
- ${CMAKE_COMMAND} -E echo_append "This line has no newline!")
+ ${CMAKE_CMAKE_COMMAND} -E echo_append "This line has no newline!")
# A simple test for ctest in script mode
CONFIGURE_FILE("${CMake_SOURCE_DIR}/Tests/CTestScriptMode/CTestTestScriptMode.cmake.in"