summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-06-07 21:06:57 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-06-07 21:06:57 (GMT)
commit0820bef83e258c42294583e140e59f0637a77694 (patch)
tree54e882f2c910f899c05ea2aa573b97682f8ce664
parent73db2056a31348fa4c0b14898c5ba66ab214021f (diff)
downloadhdf5-0820bef83e258c42294583e140e59f0637a77694.zip
hdf5-0820bef83e258c42294583e140e59f0637a77694.tar.gz
hdf5-0820bef83e258c42294583e140e59f0637a77694.tar.bz2
[svn-r22445] Add new test to CMake file
Tested: local linux
-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 a9c5d11..091da9a 100644
--- a/tools/h5stat/CMakeLists.txt
+++ b/tools/h5stat/CMakeLists.txt
@@ -41,6 +41,7 @@ IF (BUILD_TESTING)
SET (HDF5_REFERENCE_FILES
h5stat_help1.ddl
h5stat_help2.ddl
+ h5stat_notexist.ddl
h5stat_filters.ddl
h5stat_filters-file.ddl
h5stat_filters-F.ddl
@@ -133,6 +134,8 @@ IF (BUILD_TESTING)
h5stat_help1.out.err
h5stat_help2.out
h5stat_help2.out.err
+ h5stat_notexist.out
+ h5stat_notexist.out.err
h5stat_filters.out
h5stat_filters.out.err
h5stat_filters-file.out
@@ -168,6 +171,9 @@ IF (BUILD_TESTING)
ADD_H5_TEST (h5stat_help1 0 -h)
ADD_H5_TEST (h5stat_help2 0 --help)
+# Test when h5stat a file that does not exist
+ ADD_H5_TEST (h5stat_notexist 1 notexist.h5)
+
# Test file with groups, compressed datasets, user-applied fileters, etc.
# h5stat_filters.h5 is a copy of ../../testfiles/tfilters.h5 as of release 1.8.0-alpha4
ADD_H5_TEST (h5stat_filters 0 h5stat_filters.h5)