[svn-r23148] I added the macro condition check for the test of direct chunk write as it uses compress2 function.

Tested on koala.
This commit is contained in:
Raymond Lu 2013-01-09 16:07:27 -05:00
parent 81bcd314a9
commit 8eab66f667

View File

@ -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);