Correct message command syntax
This commit is contained in:
@@ -20,7 +20,7 @@ endif ()
|
||||
# message (STATUS "Require TEST_ARGS 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")
|
||||
@@ -132,7 +132,7 @@ if (TEST_ERRREF)
|
||||
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 ()
|
||||
@@ -182,5 +182,5 @@ if (TEST_FILTER)
|
||||
endif ()
|
||||
|
||||
# everything went fine...
|
||||
message ("Passed: The output of ${TEST_PROGRAM} matched")
|
||||
message (STATUS "Passed: The output of ${TEST_PROGRAM} matched")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user