summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeTests/ConfigureFile-DirOutput.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-03-09 12:42:02 (GMT)
committerBrad King <brad.king@kitware.com>2015-03-09 13:17:59 (GMT)
commit024e25e485f8d1dbca40521fbc0bcd61e383f413 (patch)
treecefc356363aac67d1aa5c2643f7b12392b1dc8d7 /Tests/CMakeTests/ConfigureFile-DirOutput.cmake
parent3ef776fc38fecff332e568f307dcf4e6f82fbe14 (diff)
downloadCMake-024e25e485f8d1dbca40521fbc0bcd61e383f413.zip
CMake-024e25e485f8d1dbca40521fbc0bcd61e383f413.tar.gz
CMake-024e25e485f8d1dbca40521fbc0bcd61e383f413.tar.bz2
Tests: Add more signature tests to RunCMake.configure_file test
Move the test cases from Tests/CMakeTests/ConfigureFileTest.cmake.in over to use the RunCMake.configure_file infrastructure. This does much more robust verification of CMake output for each test case, and would have caught the regression fixed in our parent commit.
Diffstat (limited to 'Tests/CMakeTests/ConfigureFile-DirOutput.cmake')
-rw-r--r--Tests/CMakeTests/ConfigureFile-DirOutput.cmake5
1 files changed, 0 insertions, 5 deletions
diff --git a/Tests/CMakeTests/ConfigureFile-DirOutput.cmake b/Tests/CMakeTests/ConfigureFile-DirOutput.cmake
deleted file mode 100644
index d682a2d..0000000
--- a/Tests/CMakeTests/ConfigureFile-DirOutput.cmake
+++ /dev/null
@@ -1,5 +0,0 @@
-file(WRITE ${CMAKE_CURRENT_SOURCE_DIR}/ConfigureFile-DirOutput.txt "DirOutput test file\n")
-file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/ConfigureFile-DirOutput)
-configure_file(ConfigureFile-DirOutput.txt ConfigureFile-DirOutput)
-file(READ ${CMAKE_CURRENT_BINARY_DIR}/ConfigureFile-DirOutput/ConfigureFile-DirOutput.txt out)
-message("${out}")