diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-09-11 19:09:25 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-09-11 19:09:25 (GMT) |
commit | e37b474374592d28352f354450efdbc1ff1836ba (patch) | |
tree | ece47f24a5655e16a500595fb55403bb7ebfd83f /config | |
parent | 24f863dfba86fa0ace926847f0dacce18635a73c (diff) | |
download | hdf5-e37b474374592d28352f354450efdbc1ff1836ba.zip hdf5-e37b474374592d28352f354450efdbc1ff1836ba.tar.gz hdf5-e37b474374592d28352f354450efdbc1ff1836ba.tar.bz2 |
Use variable for test output
Diffstat (limited to 'config')
-rw-r--r-- | config/cmake_ext_mod/runTest.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/cmake_ext_mod/runTest.cmake b/config/cmake_ext_mod/runTest.cmake index 7a10df2..6f633f3 100644 --- a/config/cmake_ext_mod/runTest.cmake +++ b/config/cmake_ext_mod/runTest.cmake @@ -345,8 +345,9 @@ endif () # dump the output unless nodisplay option is set if (TEST_SKIP_COMPARE AND NOT TEST_NO_DISPLAY) + file (READ ${TEST_FOLDER}/${TEST_OUTPUT} TEST_STREAM) execute_process ( - COMMAND ${CMAKE_COMMAND} -E echo ${TEST_FOLDER}/${TEST_OUTPUT} + COMMAND ${CMAKE_COMMAND} -E echo ${TEST_STREAM} RESULT_VARIABLE TEST_RESULT ) endif () |