diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-03-08 19:42:50 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-03-08 19:42:50 (GMT) |
commit | 233d0574aa3d20be5365c959220e59cb77728fed (patch) | |
tree | d38a6c759cf5dba29ab999c500b723caba90a6aa /tools/h5dump | |
parent | fe660a8da4a41719afc009f7fedea8164f948f35 (diff) | |
download | hdf5-233d0574aa3d20be5365c959220e59cb77728fed.zip hdf5-233d0574aa3d20be5365c959220e59cb77728fed.tar.gz hdf5-233d0574aa3d20be5365c959220e59cb77728fed.tar.bz2 |
[svn-r20200] Add expected fail condition to memcheck alternate tests.
Diffstat (limited to 'tools/h5dump')
-rw-r--r-- | tools/h5dump/CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/h5dump/CMakeLists.txt b/tools/h5dump/CMakeLists.txt index b1e09ca..272bc9b 100644 --- a/tools/h5dump/CMakeLists.txt +++ b/tools/h5dump/CMakeLists.txt @@ -759,11 +759,17 @@ IF (BUILD_TESTING) ADD_H5_TEST (tgroup-1 0 tgroup.h5) # test for displaying the selected groups ADD_H5_TEST (tgroup-2 1 --group=/g2 --group / -g /y tgroup.h5) + IF (HDF5_ENABLE_USING_MEMCHECKER) + SET_TESTS_PROPERTIES (H5DUMP-tgroup-2 PROPERTIES WILL_FAIL "true") + ENDIF (HDF5_ENABLE_USING_MEMCHECKER) # test for displaying simple space datasets ADD_H5_TEST (tdset-1 0 tdset.h5) # test for displaying selected datasets ADD_H5_TEST (tdset-2 1 -H -d dset1 -d /dset2 --dataset=dset3 tdset.h5) + IF (HDF5_ENABLE_USING_MEMCHECKER) + SET_TESTS_PROPERTIES (H5DUMP-tdset-2 PROPERTIES WILL_FAIL "true") + ENDIF (HDF5_ENABLE_USING_MEMCHECKER) # test for displaying attributes ADD_H5_TEST (tattr-1 0 tattr.h5) @@ -771,6 +777,9 @@ IF (BUILD_TESTING) ADD_H5_TEST (tattr-2 0 -a /attr1 --attribute /attr4 --attribute=/attr5 tattr.h5) # test for header and error messages ADD_H5_TEST (tattr-3 1 --header -a /attr2 --attribute=/attr tattr.h5) + IF (HDF5_ENABLE_USING_MEMCHECKER) + SET_TESTS_PROPERTIES (H5DUMP-tattr-3 PROPERTIES WILL_FAIL "true") + ENDIF (HDF5_ENABLE_USING_MEMCHECKER) # test for displaying attributes in shared datatype (also in group and dataset) ADD_H5_TEST (tnamed_dtype_attr 0 tnamed_dtype_attr.h5) @@ -868,6 +877,9 @@ IF (BUILD_TESTING) # test failure handling # Missing file name ADD_H5_TEST (tnofilename 1) + IF (HDF5_ENABLE_USING_MEMCHECKER) + SET_TESTS_PROPERTIES (H5DUMP-tnofilename PROPERTIES WILL_FAIL "true") + ENDIF (HDF5_ENABLE_USING_MEMCHECKER) # rev. 2004 @@ -877,6 +889,9 @@ IF (BUILD_TESTING) # test -p with a non existing dataset ADD_H5_TEST (tperror 1 -p -d bogus tfcontents1.h5) + IF (HDF5_ENABLE_USING_MEMCHECKER) + SET_TESTS_PROPERTIES (H5DUMP-tperror PROPERTIES WILL_FAIL "true") + ENDIF (HDF5_ENABLE_USING_MEMCHECKER) # test for file contents ADD_H5_TEST (tcontents 0 -n tfcontents1.h5) |