summaryrefslogtreecommitdiffstats
path: root/config/cmake_ext_mod
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-09-11 19:09:25 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-09-11 19:09:25 (GMT)
commite37b474374592d28352f354450efdbc1ff1836ba (patch)
treeece47f24a5655e16a500595fb55403bb7ebfd83f /config/cmake_ext_mod
parent24f863dfba86fa0ace926847f0dacce18635a73c (diff)
downloadhdf5-e37b474374592d28352f354450efdbc1ff1836ba.zip
hdf5-e37b474374592d28352f354450efdbc1ff1836ba.tar.gz
hdf5-e37b474374592d28352f354450efdbc1ff1836ba.tar.bz2
Use variable for test output
Diffstat (limited to 'config/cmake_ext_mod')
-rw-r--r--config/cmake_ext_mod/runTest.cmake3
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 ()