summaryrefslogtreecommitdiffstats
path: root/config/cmake
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2024-02-14 15:56:26 (GMT)
committerGitHub <noreply@github.com>2024-02-14 15:56:26 (GMT)
commit9dc82da3dfa30055679e533c6a93e250ff696319 (patch)
tree2c55829516fa00fa6e840777895fc3062b45b5ad /config/cmake
parent1414693350c1f972bfffb6dc9ec4b01cf92ee738 (diff)
downloadhdf5-9dc82da3dfa30055679e533c6a93e250ff696319.zip
hdf5-9dc82da3dfa30055679e533c6a93e250ff696319.tar.gz
hdf5-9dc82da3dfa30055679e533c6a93e250ff696319.tar.bz2
separate out individual checks for string removal (#4015)
Diffstat (limited to 'config/cmake')
-rw-r--r--config/cmake/runTest.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/cmake/runTest.cmake b/config/cmake/runTest.cmake
index 7fb9d3c..0cfb9a3 100644
--- a/config/cmake/runTest.cmake
+++ b/config/cmake/runTest.cmake
@@ -137,6 +137,10 @@ file (READ ${TEST_FOLDER}/${TEST_OUTPUT} TEST_STREAM)
string (FIND TEST_STREAM "_pmi_alps" TEST_FIND_RESULT)
if (TEST_FIND_RESULT GREATER -1)
string (REGEX REPLACE "^.*_pmi_alps[^\n]+\n" "" TEST_STREAM "${TEST_STREAM}")
+ file (WRITE ${TEST_FOLDER}/${TEST_OUTPUT} ${TEST_STREAM})
+endif ()
+string (FIND TEST_STREAM "ulimit -s" TEST_FIND_RESULT)
+if (TEST_FIND_RESULT GREATER -1)
string (REGEX REPLACE "^.*ulimit -s.*\n" "" TEST_STREAM "${TEST_STREAM}")
file (WRITE ${TEST_FOLDER}/${TEST_OUTPUT} ${TEST_STREAM})
endif ()