summaryrefslogtreecommitdiffstats
path: root/tools/h5diff
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2010-11-16 18:40:21 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2010-11-16 18:40:21 (GMT)
commit0ec9ac12efe8e2ff45b56d0e15779f565ff4d6e5 (patch)
treed3d93f981cbdd3c06a4d04ec4c81c0363fa95c13 /tools/h5diff
parent1ab76b1117630d2c5cb503163287b7ba08e3d04d (diff)
downloadhdf5-0ec9ac12efe8e2ff45b56d0e15779f565ff4d6e5.zip
hdf5-0ec9ac12efe8e2ff45b56d0e15779f565ff4d6e5.tar.gz
hdf5-0ec9ac12efe8e2ff45b56d0e15779f565ff4d6e5.tar.bz2
[svn-r19793] 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/h5diff')
-rw-r--r--tools/h5diff/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/h5diff/CMakeLists.txt b/tools/h5diff/CMakeLists.txt
index b86a804..4ad17de 100644
--- a/tools/h5diff/CMakeLists.txt
+++ b/tools/h5diff/CMakeLists.txt
@@ -608,6 +608,12 @@ IF (BUILD_TESTING)
h5diff_90.out.err
)
+ # If using memchecker add tests without using scripts
+ IF (HDF5_ENABLE_USING_MEMCHECKER)
+ ADD_TEST (NAME H5DIFF-help COMMAND h5diff -h)
+ ADD_TEST (NAME H5DIFF-normal-mode COMMAND h5diff ${FILE1} ${FILE2})
+ ENDIF (HDF5_ENABLE_USING_MEMCHECKER)
+
# ############################################################################
# # Common usage
# ############################################################################