diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2010-11-16 18:22:36 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2010-11-16 18:22:36 (GMT) |
commit | 7349aa2b68ef7dd1d9eaaf1e03795ae338877bc6 (patch) | |
tree | a4efd914872a4f22780d39d9e5ef682ade772f20 /tools/h5dump | |
parent | 186d01285a70848570482c853d00c151323981fa (diff) | |
download | hdf5-7349aa2b68ef7dd1d9eaaf1e03795ae338877bc6.zip hdf5-7349aa2b68ef7dd1d9eaaf1e03795ae338877bc6.tar.gz hdf5-7349aa2b68ef7dd1d9eaaf1e03795ae338877bc6.tar.bz2 |
[svn-r19792] Revised the valgrind ignore list, added simple execute command tests for when doing a valgrind test of tools that only use a cmake script for testing.
Diffstat (limited to 'tools/h5dump')
-rw-r--r-- | tools/h5dump/CMakeLists.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/h5dump/CMakeLists.txt b/tools/h5dump/CMakeLists.txt index 5458b9d..f89011c 100644 --- a/tools/h5dump/CMakeLists.txt +++ b/tools/h5dump/CMakeLists.txt @@ -692,6 +692,15 @@ IF (BUILD_TESTING) tvms.out.err ) + # If using memchecker add tests without using scripts + IF (HDF5_ENABLE_USING_MEMCHECKER) + ADD_TEST (NAME H5DUMP-tgroup COMMAND h5dump tgroup.h5) + ADD_TEST (NAME H5DUMP-tdset COMMAND h5dump tdset.h5) + ADD_TEST (NAME H5DUMP-tattr COMMAND h5dump tattr.h5) + ADD_TEST (NAME H5DUMP-tslink COMMAND h5dump tslink.h5) + ADD_TEST (NAME H5DUMP-thlink COMMAND h5dump thlink.h5) + ENDIF (HDF5_ENABLE_USING_MEMCHECKER) + # test for displaying groups ADD_H5_TEST (tgroup-1 0 tgroup.h5) # test for displaying the selected groups @@ -1141,6 +1150,16 @@ IF (BUILD_TESTING) ) ########## test XML + + # If using memchecker add tests without using scripts + IF (HDF5_ENABLE_USING_MEMCHECKER) + ADD_TEST (NAME H5DUMP-XML-tgroup COMMAND h5dump --xml tgroup.h5) + ADD_TEST (NAME H5DUMP-XML-tdset COMMAND h5dump --xml tdset.h5) + ADD_TEST (NAME H5DUMP-XML-tattr COMMAND h5dump --xml tattr.h5) + ADD_TEST (NAME H5DUMP-XML-tslink COMMAND h5dump --xml tslink.h5) + ADD_TEST (NAME H5DUMP-XML-thlink COMMAND h5dump --xml thlink.h5) + ENDIF (HDF5_ENABLE_USING_MEMCHECKER) + ADD_XML_H5_TEST (tall.h5 0 tall.h5) ADD_XML_H5_TEST (tattr.h5 0 tattr.h5) ADD_XML_H5_TEST (tbitfields.h5 0 tbitfields.h5) |