diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/dsets.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/test/dsets.c b/test/dsets.c index 0d4e90c..74ff06e 100644 --- a/test/dsets.c +++ b/test/dsets.c @@ -7023,6 +7023,7 @@ error: static herr_t test_filter_delete(hid_t file) { +#ifdef H5_HAVE_FILTER_DEFLATE H5Z_filter_t filtn; /* filter identification number */ hid_t dsid = -1; /* dataset ID */ hid_t sid = -1; /* dataspace ID */ @@ -7034,6 +7035,7 @@ test_filter_delete(hid_t file) unsigned flags; /* flags for filter */ herr_t ret; /* generic return value */ int i; +#endif TESTING("filter deletion"); @@ -7138,9 +7140,7 @@ test_filter_delete(hid_t file) goto error; PASSED(); -#else - SKIPPED(); -#endif + return SUCCEED; error: @@ -7153,6 +7153,10 @@ error: } H5E_END_TRY; return FAIL; +#else + SKIPPED(); + return SUCCEED; +#endif } /* end test_filter_delete() */ /*------------------------------------------------------------------------- |