summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-01-14 19:54:39 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-01-14 19:54:39 (GMT)
commit5fdc01ae997ce8b78e7f03acfa772e05fbd6dc0e (patch)
treeb206a6b00b4e2916652e2346cf8b9112e71e5a8b
parent703acba51fac02634e0b194cd28287b09c792385 (diff)
parentfe5650727c55e44e2605b667ac35f74993834643 (diff)
downloadhdf5-5fdc01ae997ce8b78e7f03acfa772e05fbd6dc0e.zip
hdf5-5fdc01ae997ce8b78e7f03acfa772e05fbd6dc0e.tar.gz
hdf5-5fdc01ae997ce8b78e7f03acfa772e05fbd6dc0e.tar.bz2
Merge pull request #1476 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'fe5650727c55e44e2605b667ac35f74993834643': Correct fix for new policy Fix for new policy
-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 ()