summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2019-01-15 16:05:20 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2019-01-15 16:05:20 (GMT)
commit0250b3650fbcec1f592f4a7371158d6b81db01c0 (patch)
tree8bddd2e65a98c0f6465dd01603626418b60e0926
parent0bf3398a0d52cb07f66b7cd9f33fbca05b05dde8 (diff)
parentb4fcb6df55ff9e5a5bb4057584e1a5d63a96efc6 (diff)
downloadhdf5-0250b3650fbcec1f592f4a7371158d6b81db01c0.zip
hdf5-0250b3650fbcec1f592f4a7371158d6b81db01c0.tar.gz
hdf5-0250b3650fbcec1f592f4a7371158d6b81db01c0.tar.bz2
Merge branch 'hdf5_1_10' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10
-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 ()