diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2012-06-07 14:41:43 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2012-06-07 14:41:43 (GMT) |
commit | e5c0e3d57fdb60c9452fc20946d71032a935cfdd (patch) | |
tree | 0ea0a0e2824dc695de8bb07ae28051ab3f6d78b5 | |
parent | ce4f31c0a9ad9db8b0f6210826b14110c3609266 (diff) | |
download | hdf5-e5c0e3d57fdb60c9452fc20946d71032a935cfdd.zip hdf5-e5c0e3d57fdb60c9452fc20946d71032a935cfdd.tar.gz hdf5-e5c0e3d57fdb60c9452fc20946d71032a935cfdd.tar.bz2 |
[svn-r22443] Add new test to CMake file
Tested: local linux
-rw-r--r-- | tools/h5stat/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/h5stat/CMakeLists.txt b/tools/h5stat/CMakeLists.txt index 8c621c9..64e17e2 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) |