summaryrefslogtreecommitdiffstats
path: root/config/cmake_ext_mod/runTest.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-01-14 19:54:51 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-01-14 19:54:51 (GMT)
commitb4fcb6df55ff9e5a5bb4057584e1a5d63a96efc6 (patch)
tree74c18cbbfde8ab5414cbc6e5368043fe1c5336a7 /config/cmake_ext_mod/runTest.cmake
parent3476c7d13d4124f7e0752f251a667bef6b4fbf68 (diff)
parent1b2fc19a8f46bff2d1ac8e25dbb40322d377eef3 (diff)
downloadhdf5-b4fcb6df55ff9e5a5bb4057584e1a5d63a96efc6.zip
hdf5-b4fcb6df55ff9e5a5bb4057584e1a5d63a96efc6.tar.gz
hdf5-b4fcb6df55ff9e5a5bb4057584e1a5d63a96efc6.tar.bz2
Merge pull request #1477 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '1b2fc19a8f46bff2d1ac8e25dbb40322d377eef3': Correct fix for new policy Fix for new policy
Diffstat (limited to 'config/cmake_ext_mod/runTest.cmake')
-rw-r--r--config/cmake_ext_mod/runTest.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/cmake_ext_mod/runTest.cmake b/config/cmake_ext_mod/runTest.cmake
index 026131b..4ac1dc8 100644
--- a/config/cmake_ext_mod/runTest.cmake
+++ b/config/cmake_ext_mod/runTest.cmake
@@ -126,7 +126,7 @@ message (STATUS "COMMAND Error: ${TEST_ERROR}")
# remove special output
file (READ ${TEST_FOLDER}/${TEST_OUTPUT} TEST_STREAM)
string (FIND TEST_STREAM "_pmi_alps" "${TEST_FIND_RESULT}")
-if ("${TEST_FIND_RESULT}" GREATER "0")
+if (NOT ${TEST_FIND_RESULT} STREQUAL "0")
string (REGEX REPLACE "^.*_pmi_alps[^\n]+\n" "" TEST_STREAM "${TEST_STREAM}")
file (WRITE ${TEST_FOLDER}/${TEST_OUTPUT} ${TEST_STREAM})
endif ()