summaryrefslogtreecommitdiffstats
path: root/test/ohdr.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-02-28 22:44:16 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-02-28 22:51:55 (GMT)
commit3e93aa9514d6b0d40f5baa2f3b25c99c06333aa2 (patch)
treea626f1e76a4a77707513a692a3e1e12a052b0e68 /test/ohdr.c
parent885aa08ec4d074765fd96d62d9b19024d7f1b224 (diff)
downloadhdf5-3e93aa9514d6b0d40f5baa2f3b25c99c06333aa2.zip
hdf5-3e93aa9514d6b0d40f5baa2f3b25c99c06333aa2.tar.gz
hdf5-3e93aa9514d6b0d40f5baa2f3b25c99c06333aa2.tar.bz2
So that I can use PASSED(); anywhere a statement can go, #define PASSED() with
a do-while wrapper.
Diffstat (limited to 'test/ohdr.c')
-rw-r--r--test/ohdr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ohdr.c b/test/ohdr.c
index 120935c..31a54d2 100644
--- a/test/ohdr.c
+++ b/test/ohdr.c
@@ -1142,7 +1142,7 @@ test_minimized_dset_ohdr_size_comparisons(hid_t fapl_id)
if(H5Dclose(dset_F_N_id) < 0) TEST_ERROR
if(H5Dclose(dset_F_Y_id) < 0) TEST_ERROR
- PASSED()
+ PASSED();
} /* compact and non-compact */
@@ -1274,7 +1274,7 @@ test_minimized_dset_ohdr_with_filter(hid_t fapl_id)
if(H5Dclose(dset_mZ_id) < 0) TEST_ERROR
if(H5Fclose(file_id) < 0) TEST_ERROR
- PASSED()
+ PASSED();
return SUCCEED;
error:
@@ -1448,7 +1448,7 @@ test_minimized_dset_ohdr_modification_times(hid_t _fapl_id)
if(H5Pclose(dcpl_mT_id) < 0) TEST_ERROR
if(H5Pclose(dcpl_mN_id) < 0) TEST_ERROR
- PASSED()
+ PASSED();
return SUCCEED;
error:
@@ -1563,7 +1563,7 @@ test_minimized_dset_ohdr_fillvalue_backwards_compatability(hid_t _fapl_id)
if(H5Dclose(dset_1_id) < 0) TEST_ERROR
if(H5Fclose(file_id) < 0) TEST_ERROR;
- PASSED()
+ PASSED();
return SUCCEED;
error: