summaryrefslogtreecommitdiffstats
path: root/tools/h5repack
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2004-08-04 20:24:42 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2004-08-04 20:24:42 (GMT)
commit28ab722e861cbdaa2eb4b42d140c14dd878815f6 (patch)
tree5e67399c1314e8cc1b5b809cdd10c3ca6ad09c22 /tools/h5repack
parent71e29531eb9098ced2e92a87c9581fd128caedef (diff)
downloadhdf5-28ab722e861cbdaa2eb4b42d140c14dd878815f6.zip
hdf5-28ab722e861cbdaa2eb4b42d140c14dd878815f6.tar.gz
hdf5-28ab722e861cbdaa2eb4b42d140c14dd878815f6.tar.bz2
[svn-r9013]
Purpose: Small bug fix Description: When SZIP filter is present but encoding is not enabled test_misc21 and h5repack tests failed. Solution: Those tests should not run in this situation at all. Used conditonal compilation to disable the tests. Platforms tested: sol (today I will enable the daily tests with the szip library that doesn't have encoder for few other platforms) Misc. update:
Diffstat (limited to 'tools/h5repack')
-rw-r--r--tools/h5repack/testh5repack_main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/h5repack/testh5repack_main.c b/tools/h5repack/testh5repack_main.c
index af19db2..8c1239f 100644
--- a/tools/h5repack/testh5repack_main.c
+++ b/tools/h5repack/testh5repack_main.c
@@ -915,7 +915,8 @@ TESTING(" addding shuffle filter to all");
TESTING(" filter conversion from deflate to szip");
-#if defined (H5_HAVE_FILTER_SZIP) && defined (H5_HAVE_FILTER_DEFLATE) \
+#if defined (H5_HAVE_FILTER_SZIP) && defined (H5_SZIP_CAN_ENCODE) \
+ && defined (H5_HAVE_FILTER_DEFLATE) \
&& defined (H5_HAVE_FILTER_FLETCHER32) && defined (H5_HAVE_FILTER_SHUFFLE)
if (h5repack_init (&pack_options, 0)<0)
@@ -938,7 +939,8 @@ TESTING(" addding shuffle filter to all");
TESTING(" filter conversion from szip to deflate");
-#if defined (H5_HAVE_FILTER_SZIP) && defined (H5_HAVE_FILTER_DEFLATE) \
+#if defined (H5_HAVE_FILTER_SZIP) && defined (H5_SZIP_CAN_ENCODE) \
+ && defined (H5_HAVE_FILTER_DEFLATE) \
&& defined (H5_HAVE_FILTER_FLETCHER32) && defined (H5_HAVE_FILTER_SHUFFLE)
if (h5repack_init (&pack_options, 0)<0)