Correct message command syntax
This commit is contained in:
@@ -24,7 +24,7 @@ if (NOT TEST_LIBRARY_DIRECTORY)
|
||||
message (STATUS "Require TEST_LIBRARY_DIRECTORY to be defined")
|
||||
endif ()
|
||||
if (NOT TEST_FOLDER)
|
||||
message ( FATAL_ERROR "Require TEST_FOLDER to be defined")
|
||||
message (FATAL_ERROR "Require TEST_FOLDER to be defined")
|
||||
endif ()
|
||||
if (NOT TEST_OUTPUT)
|
||||
message (FATAL_ERROR "Require TEST_OUTPUT to be defined")
|
||||
@@ -145,7 +145,7 @@ if (NOT TEST_SKIP_COMPARE)
|
||||
if (NOT str_act STREQUAL str_ref)
|
||||
if (str_act)
|
||||
set (TEST_RESULT 1)
|
||||
message ("line = ${line}\n***ACTUAL: ${str_act}\n****REFER: ${str_ref}\n")
|
||||
message (STATUS "line = ${line}\n***ACTUAL: ${str_act}\n****REFER: ${str_ref}\n")
|
||||
endif ()
|
||||
endif ()
|
||||
endforeach ()
|
||||
@@ -197,7 +197,7 @@ if (NOT TEST_SKIP_COMPARE)
|
||||
if (NOT str_act STREQUAL str_ref)
|
||||
if (str_act)
|
||||
set (TEST_RESULT 1)
|
||||
message ("line = ${line}\n***ACTUAL: ${str_act}\n****REFER: ${str_ref}\n")
|
||||
message (STATUS "line = ${line}\n***ACTUAL: ${str_act}\n****REFER: ${str_ref}\n")
|
||||
endif ()
|
||||
endif ()
|
||||
endforeach ()
|
||||
@@ -245,5 +245,5 @@ if (TEST_GREP_COMPARE)
|
||||
endif ()
|
||||
|
||||
# everything went fine...
|
||||
message ("${TEST_PROGRAM} Passed")
|
||||
message (STATUS "${TEST_PROGRAM} Passed")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user