Browse Source

GenerateExportHeader: Add newlines to separate the compiler output.

Make the error logs more readable.
Stephen Kelly 13 years ago
parent
commit
bb412d009a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Tests/Module/GenerateExportHeader/CMakeLists.txt

+ 2 - 2
Tests/Module/GenerateExportHeader/CMakeLists.txt

@@ -23,13 +23,13 @@ set( CMAKE_INCLUDE_CURRENT_DIR ON )
 
 macro(TEST_FAIL value msg)
   if (${value})
-    message (SEND_ERROR "Test fail:" ${msg} ${Out} )
+    message (SEND_ERROR "Test fail:" "${msg}\n" ${Out} )
   endif ()
 endmacro()
 
 macro(TEST_PASS value msg)
   if (NOT ${value})
-    message (SEND_ERROR "Test fail:" ${msg} ${Out} )
+    message (SEND_ERROR "Test fail:" "${msg}\n" ${Out} )
   endif ()
 endmacro()