summaryrefslogtreecommitdiffstats
path: root/tools/test/h5repack
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-09-17 19:38:26 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-09-17 19:38:26 (GMT)
commit3790ba38a1ad9751696f1244e73b83964994e8d5 (patch)
tree08305ce7a5f429b263555af26b51eedf0d44e08e /tools/test/h5repack
parentadce9e7f4e9a743c4d48cf5fc7c52a13cc751be3 (diff)
downloadhdf5-3790ba38a1ad9751696f1244e73b83964994e8d5.zip
hdf5-3790ba38a1ad9751696f1244e73b83964994e8d5.tar.gz
hdf5-3790ba38a1ad9751696f1244e73b83964994e8d5.tar.bz2
HDFFV-10905 fix test scripts for no zlib
Diffstat (limited to 'tools/test/h5repack')
-rw-r--r--tools/test/h5repack/h5repack.sh.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/test/h5repack/h5repack.sh.in b/tools/test/h5repack/h5repack.sh.in
index 282ba76..c515786 100644
--- a/tools/test/h5repack/h5repack.sh.in
+++ b/tools/test/h5repack/h5repack.sh.in
@@ -1391,7 +1391,12 @@ TOOLTEST add_alignment $arg
TOOLTEST upgrade_layout h5repack_layouto.h5
# test for datum size > H5TOOLS_MALLOCSIZE
-TOOLTEST gt_mallocsize h5repack_objs.h5 -f GZIP=1
+arg="h5repack_objs.h5 -f GZIP=1"
+if test $USE_FILTER_DEFLATE != "yes" ; then
+ SKIP $arg
+else
+ TOOLTEST gt_mallocsize $arg
+fi
# Check repacking file with committed datatypes in odd configurations
TOOLTEST committed_dt h5repack_named_dtypes.h5
@@ -1462,7 +1467,7 @@ VERIFY_SUPERBLOCK 1 2 2 h5repack_layout.h5 -j 1 -k 2 h5repack_layout.h5
# -j 2 -k 2, superblock will be 3
VERIFY_SUPERBLOCK 2 2 3 h5repack_layout.h5 -j 2 -k 2 h5repack_layout.h5
# -j 0 -k 1, file cannot be opened
-VERIFY_INVALIDBOUNDS 0 1 bounds_latest_latest.h5
+VERIFY_INVALIDBOUNDS 0 1 bounds_latest_latest.h5
# Clean up temporary files/directories
CLEAN_TESTFILES_AND_TESTDIR