Allow tests to dump output if not comparing
This commit is contained in:
@@ -343,6 +343,14 @@ if (TEST_GREP_COMPARE)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
# dump the output unless nodisplay option is set
|
||||
if (TEST_SKIP_COMPARE AND NOT TEST_NO_DISPLAY)
|
||||
execute_process (
|
||||
COMMAND ${CMAKE_COMMAND} -E echo ${TEST_FOLDER}/${TEST_OUTPUT}
|
||||
RESULT_VARIABLE TEST_RESULT
|
||||
)
|
||||
endif ()
|
||||
|
||||
# everything went fine...
|
||||
message (STATUS "${TEST_PROGRAM} Passed")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user