summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-01-14 19:11:56 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-01-14 19:11:56 (GMT)
commit1b2fc19a8f46bff2d1ac8e25dbb40322d377eef3 (patch)
tree74c18cbbfde8ab5414cbc6e5368043fe1c5336a7
parent4d676248df1036e14f2238f4b3d6f5ae9484469e (diff)
downloadhdf5-1b2fc19a8f46bff2d1ac8e25dbb40322d377eef3.zip
hdf5-1b2fc19a8f46bff2d1ac8e25dbb40322d377eef3.tar.gz
hdf5-1b2fc19a8f46bff2d1ac8e25dbb40322d377eef3.tar.bz2
Correct 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 3bff508..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 (NOT "${TEST_FIND_RESULT}" STREQUAL "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 ()