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/earray.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/earray.c')
-rw-r--r-- | test/earray.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/earray.c b/test/earray.c index 2955d4a..0771321 100644 --- a/test/earray.c +++ b/test/earray.c @@ -768,7 +768,7 @@ test_create(hid_t fapl, H5EA_create_t *cparam, earray_test_param_t H5_ATTR_UNUSE TEST_ERROR } /* end if */ - PASSED() + PASSED(); } #else /* NDEBUG */ SKIPPED(); @@ -784,7 +784,7 @@ test_create(hid_t fapl, H5EA_create_t *cparam, earray_test_param_t H5_ATTR_UNUSE if(create_array(f, cparam, &ea, &ea_addr, NULL) < 0) TEST_ERROR - PASSED() + PASSED(); /* Verify the creation parameters */ TESTING("verify array creation parameters"); @@ -798,7 +798,7 @@ test_create(hid_t fapl, H5EA_create_t *cparam, earray_test_param_t H5_ATTR_UNUSE TEST_ERROR /* All tests passed */ - PASSED() + PASSED(); return 0; @@ -868,7 +868,7 @@ test_reopen(hid_t fapl, H5EA_create_t *cparam, earray_test_param_t *tparam) TEST_ERROR /* All tests passed */ - PASSED() + PASSED(); return 0; @@ -972,7 +972,7 @@ test_open_twice(hid_t fapl, H5EA_create_t *cparam, earray_test_param_t *tparam) TEST_ERROR /* All tests passed */ - PASSED() + PASSED(); return 0; @@ -1112,7 +1112,7 @@ test_open_twice_diff(hid_t fapl, H5EA_create_t *cparam, earray_test_param_t *tpa TEST_ERROR /* All tests passed */ - PASSED() + PASSED(); return 0; @@ -1233,7 +1233,7 @@ test_delete_open(hid_t fapl, H5EA_create_t *cparam, earray_test_param_t *tparam) TEST_ERROR /* All tests passed */ - PASSED() + PASSED(); return 0; @@ -2234,7 +2234,7 @@ test_set_elmts(hid_t fapl, H5EA_create_t *cparam, earray_test_param_t *tparam, TEST_ERROR /* All tests passed */ - PASSED() + PASSED(); return 0; @@ -2391,7 +2391,7 @@ test_skip_elmts(hid_t fapl, H5EA_create_t *cparam, earray_test_param_t *tparam, TEST_ERROR /* All tests passed */ - PASSED() + PASSED(); return 0; |