summaryrefslogtreecommitdiffstats
path: root/tools/h5copy
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-03-19 16:02:24 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-03-19 16:02:24 (GMT)
commit64a17e9f7c7759bc6971219dd26491dac4674b86 (patch)
tree82b1d243bf63d601c1945ccadb263165c40061ca /tools/h5copy
parent1b68d081163cb125f1ae733c893d08840467be48 (diff)
downloadhdf5-64a17e9f7c7759bc6971219dd26491dac4674b86.zip
hdf5-64a17e9f7c7759bc6971219dd26491dac4674b86.tar.gz
hdf5-64a17e9f7c7759bc6971219dd26491dac4674b86.tar.bz2
[svn-r20283] Bring test properties changes from r20282 of trunk
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}