summaryrefslogtreecommitdiffstats
path: root/tools/h5ls
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-03-15 17:28:18 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-03-15 17:28:18 (GMT)
commitb72157681c534d7e036f8e3ecaa2e05548203cd6 (patch)
treec06e060f38186ca7ecbcd82da40907dddbc199b2 /tools/h5ls
parent5ed4eda59ea4004850ac8ca720b67ddac6b2d7f9 (diff)
downloadhdf5-b72157681c534d7e036f8e3ecaa2e05548203cd6.zip
hdf5-b72157681c534d7e036f8e3ecaa2e05548203cd6.tar.gz
hdf5-b72157681c534d7e036f8e3ecaa2e05548203cd6.tar.bz2
[svn-r20249] Add test properties to H5LS for expected fail
Add SKIPPED to test name if test skipped, also do not run skipped tests if doing memcheck
Diffstat (limited to 'tools/h5ls')
-rw-r--r--tools/h5ls/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/h5ls/CMakeLists.txt b/tools/h5ls/CMakeLists.txt
index 826a9f4..0424590 100644
--- a/tools/h5ls/CMakeLists.txt
+++ b/tools/h5ls/CMakeLists.txt
@@ -139,6 +139,9 @@ IF (BUILD_TESTING)
# If using memchecker add tests without using scripts
IF (HDF5_ENABLE_USING_MEMCHECKER)
ADD_TEST (NAME H5LS-${resultfile} COMMAND $<TARGET_FILE:h5ls> ${ARGN})
+ IF (${resultcode} STREQUAL "1")
+ SET_TESTS_PROPERTIES (H5DIFF-${resultfile} PROPERTIES WILL_FAIL "true")
+ ENDIF (${resultcode} STREQUAL "1")
ELSE (HDF5_ENABLE_USING_MEMCHECKER)
ADD_TEST (
NAME H5LS-${resultfile}