diff options
Diffstat (limited to 'hl')
-rw-r--r-- | hl/test/test_packet.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/hl/test/test_packet.c b/hl/test/test_packet.c index 0e025e0..7b594ca 100644 --- a/hl/test/test_packet.c +++ b/hl/test/test_packet.c @@ -829,13 +829,8 @@ test_compress(void) plist_id = H5Dget_create_plist(dset_id); if( plist_id < 0) TEST_ERROR; -#ifdef H5_WANT_H5_V1_6_COMPAT - err = H5Pget_filter_by_id(plist_id, H5Z_FILTER_DEFLATE, NULL, &num_elems, - filter_vals, 0, NULL); -#else - err = H5Pget_filter_by_id(plist_id, H5Z_FILTER_DEFLATE, NULL, &num_elems, + err = H5Pget_filter_by_id2(plist_id, H5Z_FILTER_DEFLATE, NULL, &num_elems, filter_vals, 0, NULL, NULL); -#endif if( err < 0) TEST_ERROR; /* The compression level should be 8, the value we passed in */ @@ -865,13 +860,8 @@ test_compress(void) if( plist_id < 0) TEST_ERROR; H5E_BEGIN_TRY { -#ifdef H5_WANT_H5_V1_6_COMPAT - err = H5Pget_filter_by_id(plist_id, H5Z_FILTER_DEFLATE, NULL, &num_elems, - filter_vals, 0, NULL); -#else - err = H5Pget_filter_by_id(plist_id, H5Z_FILTER_DEFLATE, NULL, &num_elems, + err = H5Pget_filter_by_id2(plist_id, H5Z_FILTER_DEFLATE, NULL, &num_elems, filter_vals, 0, NULL, NULL); -#endif if( err >= 0) TEST_ERROR; } H5E_END_TRY |