summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-09-25 14:00:35 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-09-25 14:00:35 (GMT)
commitdab8d92dbcf8a2b3cbee494d5feb65d525a57c05 (patch)
treef3c47b563123593eab0423b100547d3638a57747
parent81c43bd3ab7b53c184505666baba25ed242fefc1 (diff)
downloadhdf5-dab8d92dbcf8a2b3cbee494d5feb65d525a57c05.zip
hdf5-dab8d92dbcf8a2b3cbee494d5feb65d525a57c05.tar.gz
hdf5-dab8d92dbcf8a2b3cbee494d5feb65d525a57c05.tar.bz2
HDFFV-10905 check for zlib available
-rw-r--r--tools/h5repack/h5repack.sh.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/h5repack/h5repack.sh.in b/tools/h5repack/h5repack.sh.in
index 3f5e013..febc063 100644
--- a/tools/h5repack/h5repack.sh.in
+++ b/tools/h5repack/h5repack.sh.in
@@ -1046,7 +1046,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