summaryrefslogtreecommitdiffstats
path: root/config/cmake_ext_mod
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-01-14 18:13:03 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-01-14 18:13:03 (GMT)
commita7aaf073d2f1b918a430f14fbe43a102b397e065 (patch)
treec5171bb316dfc6501805ba5ca21baa971947c494 /config/cmake_ext_mod
parent703acba51fac02634e0b194cd28287b09c792385 (diff)
downloadhdf5-a7aaf073d2f1b918a430f14fbe43a102b397e065.zip
hdf5-a7aaf073d2f1b918a430f14fbe43a102b397e065.tar.gz
hdf5-a7aaf073d2f1b918a430f14fbe43a102b397e065.tar.bz2
Fix for new policy
Diffstat (limited to 'config/cmake_ext_mod')
-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..3bff508 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 ()