summaryrefslogtreecommitdiffstats
path: root/config/cmake/runTest.cmake
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-09-26 13:46:15 (GMT)
committerGitHub <noreply@github.com>2023-09-26 13:46:15 (GMT)
commit830bf561e1236308cdffe0c519c6e779ec0929e3 (patch)
tree9ccbc8739c6d47dd8611fb9c24dca12d38662850 /config/cmake/runTest.cmake
parent5bd7cf645342bdbcd9faafdb920ffef43a41e2e8 (diff)
downloadhdf5-830bf561e1236308cdffe0c519c6e779ec0929e3.zip
hdf5-830bf561e1236308cdffe0c519c6e779ec0929e3.tar.gz
hdf5-830bf561e1236308cdffe0c519c6e779ec0929e3.tar.bz2
Merge CMake,doxygen changes from develop,1.10 branches (#3578)
* Merge CMake,doxygen changes from develop,1.10 branches * revert incorrect option in AT TS build * Use variable for ignore-eol usage. * Add last_test depends logic * Just print status on CMake below 3.14
Diffstat (limited to 'config/cmake/runTest.cmake')
-rw-r--r--config/cmake/runTest.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/cmake/runTest.cmake b/config/cmake/runTest.cmake
index e26b8ea..b8abe92 100644
--- a/config/cmake/runTest.cmake
+++ b/config/cmake/runTest.cmake
@@ -122,6 +122,10 @@ if (NOT TEST_RESULT EQUAL TEST_EXPECT)
file (READ ${TEST_FOLDER}/${TEST_OUTPUT} TEST_STREAM)
message (STATUS "Output :\n${TEST_STREAM}")
endif ()
+ if (EXISTS "${TEST_FOLDER}/${TEST_OUTPUT}.err")
+ file (READ ${TEST_FOLDER}/${TEST_OUTPUT}.err TEST_STREAM)
+ message (STATUS "Error Output :\n${TEST_STREAM}")
+ endif ()
endif ()
message (FATAL_ERROR "Failed: Test program ${TEST_PROGRAM} exited != ${TEST_EXPECT}.\n${TEST_ERROR}")
endif ()