diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-04-08 01:44:14 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-04-08 01:44:14 (GMT) |
commit | 698f1af7cef2b2b471a8938d122fb44b2d94c0a2 (patch) | |
tree | 185c6ba6b8d578b4fd2649129474e85ce416c787 /tools/h5repack/h5repack.c | |
parent | 791e811bb531964e5a5d72c40b5ab8faa2649836 (diff) | |
download | hdf5-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.c | 6 |
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, |