diff options
author | David Young <dyoung@hdfgroup.org> | 2020-02-28 22:44:16 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-02-28 22:44:16 (GMT) |
commit | 3cb259c5a26b5b8665cfa0550823cd580f97b8f7 (patch) | |
tree | 4aaa2ba1e9a949ab8c06b7459095abbd3236933e /test/page_buffer.c | |
parent | 0a662ea44897994279a146baf9de3c99043456a7 (diff) | |
download | hdf5-3cb259c5a26b5b8665cfa0550823cd580f97b8f7.zip hdf5-3cb259c5a26b5b8665cfa0550823cd580f97b8f7.tar.gz hdf5-3cb259c5a26b5b8665cfa0550823cd580f97b8f7.tar.bz2 |
So that I can use PASSED(); anywhere a statement can go, #define PASSED() with
a do-while wrapper.
Diffstat (limited to 'test/page_buffer.c')
-rw-r--r-- | test/page_buffer.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/page_buffer.c b/test/page_buffer.c index b428c3a..c2dec6b 100644 --- a/test/page_buffer.c +++ b/test/page_buffer.c @@ -652,7 +652,7 @@ test_args(hid_t orig_fapl, const char *env_h5_drvr) if(H5Pclose(fapl) < 0) FAIL_STACK_ERROR; - PASSED() + PASSED(); return 0; error: @@ -780,7 +780,7 @@ test_mpmde_delay_basic(hid_t orig_fapl, const char *env_h5_drvr) HDfree(data); HDfree(odata); - PASSED() + PASSED(); return 0; error: @@ -982,7 +982,7 @@ test_spmde_lru_evict_basic(hid_t orig_fapl, const char *env_h5_drvr) last = print_elapsed_time(&last, __func__, __LINE__); - PASSED() + PASSED(); return 0; error: @@ -1119,7 +1119,7 @@ test_spmde_delay_basic(hid_t orig_fapl, const char *env_h5_drvr) HDfree(data); HDfree(odata); - PASSED() + PASSED(); return 0; error: @@ -1419,7 +1419,7 @@ test_raw_data_handling(hid_t orig_fapl, const char *env_h5_drvr, FAIL_STACK_ERROR; HDfree(data); - PASSED() + PASSED(); return 0; error: @@ -1682,7 +1682,7 @@ test_lru_processing(hid_t orig_fapl, const char *env_h5_drvr) FAIL_STACK_ERROR; HDfree(data); - PASSED() + PASSED(); return 0; error: @@ -2414,7 +2414,7 @@ test_min_threshold(hid_t orig_fapl, const char *env_h5_drvr) HDfree(data); - PASSED() + PASSED(); return 0; @@ -2808,7 +2808,7 @@ test_stats_collection(hid_t orig_fapl, const char *env_h5_drvr) HDfree(data); - PASSED() + PASSED(); return 0; error: @@ -2924,7 +2924,7 @@ verify_page_buffering_disabled(hid_t orig_fapl, const char *env_h5_drvr) if(H5Pclose(fapl) < 0) FAIL_STACK_ERROR; - PASSED() + PASSED(); return 0; |