diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-12-30 20:46:40 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-12-30 20:46:40 (GMT) |
commit | 6a9d13a32fcee3cfe6803cdcb4660ef0dd302c70 (patch) | |
tree | d99954b6bd0479032c4c8be0c0a849426fa2f40c /Tests | |
parent | f30b28a3427402d80b1da42ff1108b07128c86c5 (diff) | |
download | CMake-6a9d13a32fcee3cfe6803cdcb4660ef0dd302c70.zip CMake-6a9d13a32fcee3cfe6803cdcb4660ef0dd302c70.tar.gz CMake-6a9d13a32fcee3cfe6803cdcb4660ef0dd302c70.tar.bz2 |
ENH: Add testing of symlinks too
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/TarTest/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/TarTest/CMakeLists.txt b/Tests/TarTest/CMakeLists.txt index 93b505e..2a01428 100644 --- a/Tests/TarTest/CMakeLists.txt +++ b/Tests/TarTest/CMakeLists.txt @@ -4,7 +4,7 @@ PROJECT(TestTar) MACRO(EXEC_TAR_COMMAND DIR ARGS) EXEC_PROGRAM("${CMAKE_COMMAND}" "${DIR}" ARGS "-E tar ${ARGS}" RETURN_VALUE RET) IF(${RET}) - MESSAGE(FATAL_ERROR "CMake command \"${COMMAND}\" failed with arguments \"${ARGS}\"") + MESSAGE(FATAL_ERROR "CMake tar command failed with arguments \"${ARGS}\"") ENDIF(${RET}) ENDMACRO(EXEC_TAR_COMMAND) @@ -23,8 +23,8 @@ COPY("CMakeLists.txt" "d-4/f1.txt") COPY("CMakeLists.txt" "My Special Directory/f1.txt") IF(UNIX) - #EXEC_PROGRAM("ln" ARGS "-s \"${CMAKE_CURRENT_SOURCE_DIR}/tar_dir/d1/f1.txt\" \"${CMAKE_CURRENT_BINARY_DIR}/tar_dir/d1/f2.txt\"") - #SET(CHECK_FILES ${CHECK_FILES} "d1/f2.txt") + EXEC_PROGRAM("ln" ARGS "-s \"${CMAKE_CURRENT_BINARY_DIR}/tar_dir/d1/f1.txt\" \"${CMAKE_CURRENT_BINARY_DIR}/tar_dir/d1/f2.txt\"") + SET(CHECK_FILES ${CHECK_FILES} "d1/f2.txt") ENDIF(UNIX) MAKE_DIRECTORY("${CMAKE_CURRENT_BINARY_DIR}/test_output_tar") |