summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/misc/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/misc/CMakeLists.txt b/tools/misc/CMakeLists.txt
index 2d8ccc8..d909795 100644
--- a/tools/misc/CMakeLists.txt
+++ b/tools/misc/CMakeLists.txt
@@ -223,6 +223,12 @@ IF (BUILD_TESTING)
h5repart_test
)
+ # If using memchecker add tests without using scripts
+ IF (HDF5_ENABLE_USING_MEMCHECKER)
+ ADD_TEST (NAME H5MKGRP-help COMMAND h5mkgrp -h)
+ ADD_TEST (NAME H5MKGRP-version COMMAND h5mkgrp -V)
+ ENDIF (HDF5_ENABLE_USING_MEMCHECKER)
+
# Check that help & version is displayed properly
ADD_H5_CMP (h5mkgrp_help 0 "-h")
ADD_H5_CMP (h5mkgrp_version 0 "-V")