diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-09-11 17:51:31 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-09-11 17:51:31 (GMT) |
commit | 24f863dfba86fa0ace926847f0dacce18635a73c (patch) | |
tree | 3afd510867e322c733885112d46cc9e7c7cca95f /config | |
parent | e20331651e34a043bd54826169b21e776bb09816 (diff) | |
download | hdf5-24f863dfba86fa0ace926847f0dacce18635a73c.zip hdf5-24f863dfba86fa0ace926847f0dacce18635a73c.tar.gz hdf5-24f863dfba86fa0ace926847f0dacce18635a73c.tar.bz2 |
Allow tests to dump output if not comparing
Diffstat (limited to 'config')
-rw-r--r-- | config/cmake_ext_mod/runTest.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/cmake_ext_mod/runTest.cmake b/config/cmake_ext_mod/runTest.cmake index e601653..7a10df2 100644 --- a/config/cmake_ext_mod/runTest.cmake +++ b/config/cmake_ext_mod/runTest.cmake @@ -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") |