summaryrefslogtreecommitdiffstats
path: root/test/dsets.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-02-09 13:46:16 (GMT)
committerGitHub <noreply@github.com>2023-02-09 13:46:16 (GMT)
commitd61fd4aba721db789477027924f4e3aff313f7b6 (patch)
treee339150fca9b54e801d74d08f42d6aa0dc50c2ed /test/dsets.c
parent509fe962d42b3f02d356d2668b04712df06daf7f (diff)
downloadhdf5-d61fd4aba721db789477027924f4e3aff313f7b6.zip
hdf5-d61fd4aba721db789477027924f4e3aff313f7b6.tar.gz
hdf5-d61fd4aba721db789477027924f4e3aff313f7b6.tar.bz2
Add szip/libaec to GitHub CI and fix warnings (#2438)
szip (or libaec) is currently not tested in CI. This adds szip to the the Autotools GitHub CI actions on Linux when building with the Autotools. This PR also cleans up a few warnings that remained in the szip- related code so the -Werror check will pass.
Diffstat (limited to 'test/dsets.c')
-rw-r--r--test/dsets.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/dsets.c b/test/dsets.c
index 6592d17..fc3de08 100644
--- a/test/dsets.c
+++ b/test/dsets.c
@@ -2495,11 +2495,7 @@ error:
*-------------------------------------------------------------------------
*/
static herr_t
-test_filters(hid_t file, hid_t
-#ifndef H5_HAVE_FILTER_SZIP
- H5_ATTR_UNUSED
-#endif /* H5_HAVE_FILTER_SZIP */
- fapl)
+test_filters(hid_t file)
{
hid_t dc; /* Dataset creation property list ID */
const hsize_t chunk_size[2] = {FILTER_CHUNK_DIM1, FILTER_CHUNK_DIM2}; /* Chunk dimensions */
@@ -15728,7 +15724,7 @@ main(void)
nerrors += (test_compact_open_close_dirty(my_fapl) < 0 ? 1 : 0);
nerrors += (test_conv_buffer(file) < 0 ? 1 : 0);
nerrors += (test_tconv(file) < 0 ? 1 : 0);
- nerrors += (test_filters(file, my_fapl) < 0 ? 1 : 0);
+ nerrors += (test_filters(file) < 0 ? 1 : 0);
nerrors += (test_onebyte_shuffle(file) < 0 ? 1 : 0);
nerrors += (test_nbit_int(file) < 0 ? 1 : 0);
nerrors += (test_nbit_float(file) < 0 ? 1 : 0);