diff options
author | lrknox <lrknox> | 2017-05-20 02:32:43 (GMT) |
---|---|---|
committer | lrknox <lrknox> | 2017-05-20 02:32:43 (GMT) |
commit | 3a43f7af3eaf807fbdf4cf26c10eadb67903b4a8 (patch) | |
tree | a9af55e96791ecc7845a67a5b2ec6e667a24dd12 /hl/test | |
parent | 197b461bceee6b066ba7560766644ad2a26c361c (diff) | |
parent | d2db9140b298cf4ffa75255743a709a8b5362135 (diff) | |
download | hdf5-3a43f7af3eaf807fbdf4cf26c10eadb67903b4a8.zip hdf5-3a43f7af3eaf807fbdf4cf26c10eadb67903b4a8.tar.gz hdf5-3a43f7af3eaf807fbdf4cf26c10eadb67903b4a8.tar.bz2 |
Merge branch 'hdf5_1_8' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_8
Diffstat (limited to 'hl/test')
-rw-r--r-- | hl/test/test_dset_opt.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/hl/test/test_dset_opt.c b/hl/test/test_dset_opt.c index 144f41f..179e068 100644 --- a/hl/test/test_dset_opt.c +++ b/hl/test/test_dset_opt.c @@ -38,8 +38,8 @@ /* Datasets for Direct Read tests */ #define DATASETNAME8 "disabled_chunk_cache" -#define DATASETNAME9 "read_w_valid_cache" -#define DATASETNAME10 "flush_chunk_cache" +#define DATASETNAME9 "flush_chunk_cache" +#define DATASETNAME10 "read_w_valid_cache" #define DATASETNAME11 "unallocated_chunk" #define DATASETNAME12 "unfiltered_data" @@ -345,6 +345,7 @@ error: if(outbuf) HDfree(outbuf); + H5_FAILED(); return 1; } #endif /* H5_HAVE_FILTER_DEFLATE */ @@ -451,6 +452,7 @@ error: H5Dclose(did); } H5E_END_TRY; + H5_FAILED(); return 1; } /* end test_direct_chunk_overwrite_data() */ @@ -627,6 +629,7 @@ error: H5Pclose(dxpl); } H5E_END_TRY; + H5_FAILED(); return 1; } /* test_skip_compress_write1() */ @@ -897,6 +900,7 @@ error: H5Pclose(dxpl); } H5E_END_TRY; + H5_FAILED(); return 1; } /* test_skip_compress_write2() */ @@ -1125,6 +1129,7 @@ error: H5Tclose(dt); } H5E_END_TRY; + H5_FAILED(); return 1; } /* test_data_conv() */ @@ -1336,6 +1341,7 @@ error: H5Pclose(dxpl); } H5E_END_TRY; + H5_FAILED(); return 1; } /* test_invalid_parameters() */ @@ -1516,6 +1522,7 @@ error: if(outbuf) HDfree(outbuf); + H5_FAILED(); return 1; } /* test_direct_chunk_read_no_cache() */ #endif /* H5_HAVE_FILTER_DEFLATE */ @@ -1693,6 +1700,7 @@ error: if(outbuf) HDfree(outbuf); + H5_FAILED(); return 1; } /* test_direct_chunk_read_cache() */ #endif /* H5_HAVE_FILTER_DEFLATE */ @@ -1841,6 +1849,7 @@ error: H5Pclose(dxpl); } H5E_END_TRY; + H5_FAILED(); return 1; } /* test_read_unfiltered_dset() */ @@ -1958,6 +1967,7 @@ error: H5Pclose(dxpl); } H5E_END_TRY; + H5_FAILED(); return 1; } /* test_read_unallocated_chunk() */ @@ -2013,8 +2023,10 @@ int main( void ) if (nerrors) goto error; + HDputs("All direct chunk read/write tests passed."); return EXIT_SUCCESS; error: + HDputs("*** TESTS FAILED ***"); return EXIT_FAILURE; } |