summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/add_link_options/LINKER_expansion-validation.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/add_link_options/LINKER_expansion-validation.cmake')
-rw-r--r--Tests/RunCMake/add_link_options/LINKER_expansion-validation.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/RunCMake/add_link_options/LINKER_expansion-validation.cmake b/Tests/RunCMake/add_link_options/LINKER_expansion-validation.cmake
index bebd6c7..ece3ba0 100644
--- a/Tests/RunCMake/add_link_options/LINKER_expansion-validation.cmake
+++ b/Tests/RunCMake/add_link_options/LINKER_expansion-validation.cmake
@@ -11,5 +11,8 @@ endif()
file(READ "${RunCMake_TEST_BINARY_DIR}/LINKER.txt" linker_flag)
if (NOT actual_stdout MATCHES "${linker_flag}")
- set (RunCMake_TEST_FAILED "LINKER: was not expanded correctly.")
+ if (RunCMake_TEST_FAILED)
+ string (APPEND RunCMake_TEST_FAILED "\n")
+ endif()
+ string (APPEND RunCMake_TEST_FAILED "LINKER: was not expanded correctly.")
endif()