summaryrefslogtreecommitdiffstats
path: root/tools/h5stat
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2010-11-16 18:22:36 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2010-11-16 18:22:36 (GMT)
commit7349aa2b68ef7dd1d9eaaf1e03795ae338877bc6 (patch)
treea4efd914872a4f22780d39d9e5ef682ade772f20 /tools/h5stat
parent186d01285a70848570482c853d00c151323981fa (diff)
downloadhdf5-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/h5stat')
-rw-r--r--tools/h5stat/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/h5stat/CMakeLists.txt b/tools/h5stat/CMakeLists.txt
index 3fa2041..e00d8ae 100644
--- a/tools/h5stat/CMakeLists.txt
+++ b/tools/h5stat/CMakeLists.txt
@@ -144,6 +144,12 @@ IF (BUILD_TESTING)
h5stat_newgrat-UA.out.err
)
+ # If using memchecker add tests without using scripts
+ IF (HDF5_ENABLE_USING_MEMCHECKER)
+ ADD_TEST (NAME H5STAT-help COMMAND h5stat -h)
+ ADD_TEST (NAME H5STAT-filters COMMAND h5stat h5stat_filters.h5)
+ ENDIF (HDF5_ENABLE_USING_MEMCHECKER)
+
# Test for help flag
ADD_H5_TEST (h5stat_help1 0 -h)
ADD_H5_TEST (h5stat_help2 0 --help)