summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2004-04-08 01:44:14 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2004-04-08 01:44:14 (GMT)
commit698f1af7cef2b2b471a8938d122fb44b2d94c0a2 (patch)
tree185c6ba6b8d578b4fd2649129474e85ce416c787 /tools/h5repack/h5repack.c
parent791e811bb531964e5a5d72c40b5ab8faa2649836 (diff)
downloadhdf5-698f1af7cef2b2b471a8938d122fb44b2d94c0a2.zip
hdf5-698f1af7cef2b2b471a8938d122fb44b2d94c0a2.tar.gz
hdf5-698f1af7cef2b2b471a8938d122fb44b2d94c0a2.tar.bz2
[svn-r8320] Purpose:
new tests for h5repack Description: added more tests both to the test program and shell script that test a variation of different filter converssions Solution: Platforms tested: linux Misc. update:
Diffstat (limited to 'tools/h5repack/h5repack.c')
-rw-r--r--tools/h5repack/h5repack.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/h5repack/h5repack.c b/tools/h5repack/h5repack.c
index f980e3e..21166b7 100644
--- a/tools/h5repack/h5repack.c
+++ b/tools/h5repack/h5repack.c
@@ -338,7 +338,11 @@ static int check_options(pack_opt_t *options)
szip_pixels_per_block=pack.filter[j].cd_values[0];
/* check szip parameters */
- if (check_szip(0, /* do not test size */
+ if ( pack.chunk.rank!=-1 /*
+ it means a layout was not input, so there is no
+ case to try to check it
+ */
+ && check_szip(0, /* do not test size */
pack.chunk.rank,
pack.chunk.chunk_lengths,
szip_options_mask,