mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
Fix for new policy
This commit is contained in:
parent
703acba51f
commit
a7aaf073d2
@ -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 ()
|
||||
|
Loading…
Reference in New Issue
Block a user