summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/DIRECTORY-MESSAGE_NEVER-check.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-08-01 18:59:50 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-08-01 18:59:50 (GMT)
commit88e1c54a7cd3213d87143558a8fddf39e7fdccc0 (patch)
tree3bb05b4e935ab00aa445129a073a6ff9321467af /Tests/RunCMake/install/DIRECTORY-MESSAGE_NEVER-check.cmake
parentbfac78d07479eb652405ee51548c4011766666ce (diff)
parent7a649111cdea2b10f2ec57084416be619867fbfb (diff)
downloadCMake-88e1c54a7cd3213d87143558a8fddf39e7fdccc0.zip
CMake-88e1c54a7cd3213d87143558a8fddf39e7fdccc0.tar.gz
CMake-88e1c54a7cd3213d87143558a8fddf39e7fdccc0.tar.bz2
Merge topic 'use-string-append'
7a649111 Use string(APPEND) in Tests 5d0d980d Use string(APPEND) in Modules
Diffstat (limited to 'Tests/RunCMake/install/DIRECTORY-MESSAGE_NEVER-check.cmake')
-rw-r--r--Tests/RunCMake/install/DIRECTORY-MESSAGE_NEVER-check.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/Tests/RunCMake/install/DIRECTORY-MESSAGE_NEVER-check.cmake b/Tests/RunCMake/install/DIRECTORY-MESSAGE_NEVER-check.cmake
index 2c716e1..3605163 100644
--- a/Tests/RunCMake/install/DIRECTORY-MESSAGE_NEVER-check.cmake
+++ b/Tests/RunCMake/install/DIRECTORY-MESSAGE_NEVER-check.cmake
@@ -3,11 +3,11 @@ execute_process(COMMAND ${CMAKE_COMMAND} -P ${RunCMake_TEST_BINARY_DIR}/cmake_in
OUTPUT_VARIABLE out ERROR_VARIABLE err)
if(out MATCHES "-- Installing: [^\n]*prefix/dir")
string(REGEX REPLACE "\n" "\n " out " ${out}")
- set(RunCMake_TEST_FAILED
- "${RunCMake_TEST_FAILED}Installation output was not quiet:\n${out}")
+ string(APPEND RunCMake_TEST_FAILED
+ "Installation output was not quiet:\n${out}")
endif()
set(f ${RunCMake_TEST_BINARY_DIR}/prefix/dir/empty.txt)
if(NOT EXISTS "${f}")
- set(RunCMake_TEST_FAILED
- "${RunCMake_TEST_FAILED}File was not installed:\n ${f}\n")
+ string(APPEND RunCMake_TEST_FAILED
+ "File was not installed:\n ${f}\n")
endif()