[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.103 1.104
cmake-commits at cmake.org
cmake-commits at cmake.org
Fri Sep 11 16:39:10 EDT 2009
Update of /cvsroot/CMake/CMake/Tests
In directory public:/mounts/ram/cvs-serv23264/Tests
Modified Files:
CMakeLists.txt
Log Message:
Test that CTest can handle missing newlines
We create test 'CTest.NoNewline' to print output with no newline.
This tests CTest's ability to handle a missing newline.
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CMakeLists.txt,v
retrieving revision 1.103
retrieving revision 1.104
diff -C 2 -d -r1.103 -r1.104
*** CMakeLists.txt 7 Sep 2009 14:12:18 -0000 1.103
--- CMakeLists.txt 11 Sep 2009 20:39:07 -0000 1.104
***************
*** 898,901 ****
--- 898,905 ----
ENDIF(APPLE AND CTEST_TEST_CPACK)
+ # 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!")
+
# A simple test for ctest in script mode
CONFIGURE_FILE("${CMake_SOURCE_DIR}/Tests/CTestScriptMode/CTestTestScriptMode.cmake.in"
More information about the Cmake-commits
mailing list