summaryrefslogtreecommitdiffstats
path: root/tools/h5copy
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-03-19 15:54:12 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-03-19 15:54:12 (GMT)
commit0fcb094698374a1c5eb218030d14ca3071c049ca (patch)
tree64bffdd55b001efe5e466aff1ac80c5610c4049f /tools/h5copy
parentf845e716bc34a5929e979cf046ab3d032c7e21d8 (diff)
downloadhdf5-0fcb094698374a1c5eb218030d14ca3071c049ca.zip
hdf5-0fcb094698374a1c5eb218030d14ca3071c049ca.tar.gz
hdf5-0fcb094698374a1c5eb218030d14ca3071c049ca.tar.bz2
[svn-r20282] Corrected expected fail tests for use during valgrind
Diffstat (limited to 'tools/h5copy')
-rw-r--r--tools/h5copy/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/h5copy/CMakeLists.txt b/tools/h5copy/CMakeLists.txt
index f2f0490..9ce1558 100644
--- a/tools/h5copy/CMakeLists.txt
+++ b/tools/h5copy/CMakeLists.txt
@@ -152,6 +152,9 @@ IF (BUILD_TESTING)
# If using memchecker add tests without using scripts
IF (HDF5_ENABLE_USING_MEMCHECKER)
ADD_TEST (NAME H5COPY-CMP-${testname} COMMAND $<TARGET_FILE:h5copy> -i ${testfile}.h5 -o ./testfiles/${testfile}.out.h5 -${vparam} -s ${srcname} -d ${dstname})
+ IF (${resultcode} STREQUAL "1")
+ SET_TESTS_PROPERTIES (H5COPY-CMP-${testname} PROPERTIES WILL_FAIL "true")
+ ENDIF (${resultcode} STREQUAL "1")
ELSE (HDF5_ENABLE_USING_MEMCHECKER)
ADD_TEST (
NAME H5COPY-CMP-${testname}