diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5repack/h5repack_copy.c | 2 | ||||
-rw-r--r-- | tools/h5repack/testh5repack_main.c | 16 |
2 files changed, 3 insertions, 15 deletions
diff --git a/tools/h5repack/h5repack_copy.c b/tools/h5repack/h5repack_copy.c index 3ca7c11..6b5a393 100644 --- a/tools/h5repack/h5repack_copy.c +++ b/tools/h5repack/h5repack_copy.c @@ -287,7 +287,7 @@ int do_copy_file(hid_t fidin, { obj.chunk.rank=rank; for (j=0; j<rank; j++) - obj.chunk.chunk_lengths[j] = dims[j] / 2; + obj.chunk.chunk_lengths[j] = dims[j]; } if (apply_filters(dcpl_id,H5Tget_size(mtype_id),options,&obj)<0) continue; diff --git a/tools/h5repack/testh5repack_main.c b/tools/h5repack/testh5repack_main.c index 1cd3762..d2ca603 100644 --- a/tools/h5repack/testh5repack_main.c +++ b/tools/h5repack/testh5repack_main.c @@ -50,8 +50,6 @@ test_copy(void) TEST_ERROR; if (h5repack_verify(FNAME1OUT,&pack_options)<=0) TEST_ERROR; - if (h5repack_cmpdcpl(FNAME1,FNAME1OUT)<=0) - TEST_ERROR; if (h5repack_end (&pack_options)<0) TEST_ERROR; @@ -66,8 +64,6 @@ test_copy(void) TEST_ERROR; if (h5repack_verify(FNAME2OUT,&pack_options)<=0) TEST_ERROR; - if (h5repack_cmpdcpl(FNAME2,FNAME2OUT)<=0) - TEST_ERROR; if (h5repack_end (&pack_options)<0) TEST_ERROR; PASSED(); @@ -81,9 +77,7 @@ test_copy(void) TEST_ERROR; if (h5repack_verify(FNAME3OUT,&pack_options)<=0) TEST_ERROR; - if (h5repack_cmpdcpl(FNAME3,FNAME3OUT)<=0) - TEST_ERROR; - if (h5repack_end (&pack_options)<0) + if (h5repack_end (&pack_options)<0) TEST_ERROR; PASSED(); @@ -138,8 +132,6 @@ test_filter_deflate(void) TEST_ERROR; if (h5repack_verify(FNAME4OUT,&pack_options)<=0) TEST_ERROR; - if (h5repack_cmpdcpl(FNAME4,FNAME4OUT)<=0) - TEST_ERROR; if (h5repack_end (&pack_options)<0) TEST_ERROR; @@ -573,8 +565,6 @@ test_layout_contiguous(void) TEST_ERROR; if (h5repack_verify(FNAME4OUT,&pack_options)<=0) TEST_ERROR; - if (h5repack_cmpdcpl(FNAME4,FNAME4OUT)<=0) - TEST_ERROR; if (h5repack_end (&pack_options)<0) TEST_ERROR; @@ -593,9 +583,7 @@ test_layout_contiguous(void) TEST_ERROR; if (h5repack_verify(FNAME4OUT,&pack_options)<=0) TEST_ERROR; - if (h5repack_cmpdcpl(FNAME4,FNAME4OUT)<=0) - TEST_ERROR; - if (h5repack_end (&pack_options)<0) + if (h5repack_end (&pack_options)<0) TEST_ERROR; PASSED(); |