summaryrefslogtreecommitdiffstats
path: root/config/cmake_ext_mod/runTest.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-12-19 20:44:29 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-12-19 20:44:29 (GMT)
commit0bcae40c8a6030189693f6a428a60643ea3947f9 (patch)
treefe1e28f5f2da1fa21ca6412e135223ecdd691627 /config/cmake_ext_mod/runTest.cmake
parentfc7f4e59aa233e06e8ca7c3c334bb539c62079e5 (diff)
downloadhdf5-0bcae40c8a6030189693f6a428a60643ea3947f9.zip
hdf5-0bcae40c8a6030189693f6a428a60643ea3947f9.tar.gz
hdf5-0bcae40c8a6030189693f6a428a60643ea3947f9.tar.bz2
TRILABS special text removal
Diffstat (limited to 'config/cmake_ext_mod/runTest.cmake')
-rw-r--r--config/cmake_ext_mod/runTest.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/cmake_ext_mod/runTest.cmake b/config/cmake_ext_mod/runTest.cmake
index 0bc2db0..75f704a 100644
--- a/config/cmake_ext_mod/runTest.cmake
+++ b/config/cmake_ext_mod/runTest.cmake
@@ -121,6 +121,11 @@ endif ()
message (STATUS "COMMAND Error: ${TEST_ERROR}")
+# remove special output
+file (READ ${TEST_FOLDER}/${TEST_OUTPUT} TEST_STREAM)
+string (REGEX REPLACE "^.*_pmi_alps[^\n]+\n" "" TEST_STREAM "${TEST_STREAM}")
+file (WRITE ${TEST_FOLDER}/${TEST_OUTPUT} "${TEST_STREAM}")
+
# if the output file needs Storage text removed
if (TEST_MASK)
file (READ ${TEST_FOLDER}/${TEST_OUTPUT} TEST_STREAM)