summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-02-24 14:55:14 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-02-24 14:55:14 (GMT)
commit016ebfcdf247eb1b63b116babf054d2252245086 (patch)
tree8fd349a21087b85d016735f7988c75226681f3a3 /config
parentf74042d4e8ac904e5ab847b36e0fbabf5835b12a (diff)
downloadhdf5-016ebfcdf247eb1b63b116babf054d2252245086.zip
hdf5-016ebfcdf247eb1b63b116babf054d2252245086.tar.gz
hdf5-016ebfcdf247eb1b63b116babf054d2252245086.tar.bz2
[svn-r29198] Remove if condition for test mask situation
Diffstat (limited to 'config')
-rw-r--r--config/cmake_ext_mod/runTest.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake_ext_mod/runTest.cmake b/config/cmake_ext_mod/runTest.cmake
index 2dc8ac4..3b7d949 100644
--- a/config/cmake_ext_mod/runTest.cmake
+++ b/config/cmake_ext_mod/runTest.cmake
@@ -91,7 +91,7 @@ if (TEST_MASK_MOD)
endif (TEST_MASK_MOD)
if (TEST_MASK_ERROR)
- if (NOT TEST_ERRREF AND NOT EXISTS ${TEST_FOLDER}/${TEST_OUTPUT}.err)
+ if (NOT TEST_ERRREF)
file (READ ${TEST_FOLDER}/${TEST_OUTPUT} TEST_STREAM)
else ()
file (READ ${TEST_FOLDER}/${TEST_OUTPUT}.err TEST_STREAM)
@@ -103,7 +103,7 @@ if (TEST_MASK_ERROR)
string (REGEX REPLACE "[1-9]*[.][0-9]*[.][0-9]*[^)]*" "version (number)" TEST_STREAM "${TEST_STREAM}")
string (REGEX REPLACE "H5Eget_auto[1-2]*" "H5Eget_auto(1 or 2)" TEST_STREAM "${TEST_STREAM}")
string (REGEX REPLACE "H5Eset_auto[1-2]*" "H5Eset_auto(1 or 2)" TEST_STREAM "${TEST_STREAM}")
- if (NOT TEST_ERRREF AND NOT EXISTS ${TEST_FOLDER}/${TEST_OUTPUT}.err)
+ if (NOT TEST_ERRREF)
file (WRITE ${TEST_FOLDER}/${TEST_OUTPUT} "${TEST_STREAM}")
else ()
file (WRITE ${TEST_FOLDER}/${TEST_OUTPUT}.err "${TEST_STREAM}")