summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-01-12 23:09:56 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-01-12 23:09:56 (GMT)
commit0f10dedc6eee54fe3b53098ddfc9b91fff4aa480 (patch)
treee8d2dd051254eb761faf1d5975817fe2259dab3d
parent1d5eb0956eddea8953d349bb0893eb8790ce86e7 (diff)
downloadhdf5-0f10dedc6eee54fe3b53098ddfc9b91fff4aa480.zip
hdf5-0f10dedc6eee54fe3b53098ddfc9b91fff4aa480.tar.gz
hdf5-0f10dedc6eee54fe3b53098ddfc9b91fff4aa480.tar.bz2
Correct variable name
-rw-r--r--config/cmake_ext_mod/runTest.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/cmake_ext_mod/runTest.cmake b/config/cmake_ext_mod/runTest.cmake
index 0157dac..804c80f 100644
--- a/config/cmake_ext_mod/runTest.cmake
+++ b/config/cmake_ext_mod/runTest.cmake
@@ -89,9 +89,9 @@ endif ()
# if the return value is !=${TEST_EXPECT} bail out
if (NOT ${TEST_RESULT} STREQUAL ${TEST_EXPECT})
if (NOT TEST_NOERRDISPLAY)
- if (EXISTS ${TEST_FOLDER}/${TEST_OUTPUT}.out)
- file (READ ${TEST_FOLDER}/${TEST_OUTPUT}.out TEST_STREAM)
- message (STATUS "Output :\n${TEST_STREAM}")
+ if (EXISTS ${TEST_FOLDER}/${TEST_OUTPUT})
+ file (READ ${TEST_FOLDER}/${TEST_OUTPUT} TEST_STREAM)
+ message (STATUS "Output :\n${TEST_STREAM}")
endif()
endif()
message (FATAL_ERROR "Failed: Test program ${TEST_PROGRAM} exited != ${TEST_EXPECT}.\n${TEST_ERROR}")