summaryrefslogtreecommitdiffstats
path: root/config/cmake_ext_mod/runTest.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-01-14 19:11:17 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-01-14 19:11:17 (GMT)
commitfe5650727c55e44e2605b667ac35f74993834643 (patch)
treeb206a6b00b4e2916652e2346cf8b9112e71e5a8b /config/cmake_ext_mod/runTest.cmake
parenta7aaf073d2f1b918a430f14fbe43a102b397e065 (diff)
downloadhdf5-fe5650727c55e44e2605b667ac35f74993834643.zip
hdf5-fe5650727c55e44e2605b667ac35f74993834643.tar.gz
hdf5-fe5650727c55e44e2605b667ac35f74993834643.tar.bz2
Correct 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 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 ()