summaryrefslogtreecommitdiffstats
path: root/hl/test/test_dset_opt.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2013-01-09 21:07:27 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2013-01-09 21:07:27 (GMT)
commit8eab66f667f61e076809e849bd03098569dd6cfc (patch)
tree1b5666fad580d56eca0ab81e8b1970355bae70a6 /hl/test/test_dset_opt.c
parent81bcd314a9b170a5652f4d13b54b9cbaab14c03b (diff)
downloadhdf5-8eab66f667f61e076809e849bd03098569dd6cfc.zip
hdf5-8eab66f667f61e076809e849bd03098569dd6cfc.tar.gz
hdf5-8eab66f667f61e076809e849bd03098569dd6cfc.tar.bz2
[svn-r23148] I added the macro condition check for the test of direct chunk write as it uses compress2 function.
Tested on koala.
Diffstat (limited to 'hl/test/test_dset_opt.c')
-rw-r--r--hl/test/test_dset_opt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hl/test/test_dset_opt.c b/hl/test/test_dset_opt.c
index 79f7eda..a585292 100644
--- a/hl/test/test_dset_opt.c
+++ b/hl/test/test_dset_opt.c
@@ -1115,7 +1115,9 @@ int main( void )
goto error;
/* Test direct chunk write */
+#ifdef H5_HAVE_FILTER_DEFLATE
nerrors += test_direct_chunk_write(file_id);
+#endif /* H5_HAVE_FILTER_DEFLATE */
nerrors += test_skip_compress_write1(file_id);
nerrors += test_skip_compress_write2(file_id);
nerrors += test_data_conv(file_id);