mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
Allow tests to dump output if not comparing
This commit is contained in:
parent
e20331651e
commit
24f863dfba
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user