summaryrefslogtreecommitdiffstats
path: root/Tests/StringFileTest
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-07-22 14:45:42 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-07-22 14:45:42 (GMT)
commite63dd4e329242fb3028115f10ff02c21240626a1 (patch)
treef020749dfc7ba6c938460e0b10846108fa6cdd29 /Tests/StringFileTest
parent3c30dae03aa44c1329e3be4493306a4465ba0c23 (diff)
downloadCMake-e63dd4e329242fb3028115f10ff02c21240626a1.zip
CMake-e63dd4e329242fb3028115f10ff02c21240626a1.tar.gz
CMake-e63dd4e329242fb3028115f10ff02c21240626a1.tar.bz2
ENH: Increase coverage
Diffstat (limited to 'Tests/StringFileTest')
-rw-r--r--Tests/StringFileTest/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/StringFileTest/CMakeLists.txt b/Tests/StringFileTest/CMakeLists.txt
index f581f0a..f7c0c10 100644
--- a/Tests/StringFileTest/CMakeLists.txt
+++ b/Tests/StringFileTest/CMakeLists.txt
@@ -55,6 +55,9 @@ FOREACH(var
FILE(APPEND "${file}" "#define ${var} \"${${var}}\"\n")
ENDFOREACH(var)
+EXEC_PROGRAM(${CMAKE_COMMAND} ARGS "-E chdir ${CMAKE_CURRENT_SOURCE_DIR} \"${CMAKE_COMMAND} -E echo \\\"Hello World\\\"\"")
+EXEC_PROGRAM(${CMAKE_COMMAND} ARGS "-E time \"${CMAKE_COMMAND} -E echo \\\"Hello World\\\"\"")
+
# Write include file to a file
STRING(REGEX REPLACE "includefile" "${file}" outfile "${infile}")
FILE(WRITE "${CMAKE_CURRENT_BINARY_DIR}/OutputFile.h" "${outfile}")