summaryrefslogtreecommitdiffstats
path: root/test/tvltypes.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tvltypes.c')
-rw-r--r--test/tvltypes.c25
1 files changed, 20 insertions, 5 deletions
diff --git a/test/tvltypes.c b/test/tvltypes.c
index e31c65f..b8cbe6d 100644
--- a/test/tvltypes.c
+++ b/test/tvltypes.c
@@ -136,7 +136,10 @@ test_vltypes_dataset_create(void)
CHECK(ret, FAIL, "H5Pset_fill_time");
/* Create a dataset, supposed to fail */
- H5E_BEGIN_TRY { dataset = H5Dcreate2(fid1, "Dataset1", tid1, sid1, H5P_DEFAULT, dcpl, H5P_DEFAULT); }
+ H5E_BEGIN_TRY
+ {
+ dataset = H5Dcreate2(fid1, "Dataset1", tid1, sid1, H5P_DEFAULT, dcpl, H5P_DEFAULT);
+ }
H5E_END_TRY;
VERIFY(dataset, FAIL, "H5Dcreate2");
@@ -202,11 +205,17 @@ test_vltypes_funcs(void)
ret = H5Tset_offset(type, (size_t)16);
CHECK(ret, FAIL, "H5Tset_offset");
- H5E_BEGIN_TRY { cset = H5Tget_cset(type); }
+ H5E_BEGIN_TRY
+ {
+ cset = H5Tget_cset(type);
+ }
H5E_END_TRY;
VERIFY(cset, FAIL, "H5Tget_cset");
- H5E_BEGIN_TRY { strpad = H5Tget_strpad(type); }
+ H5E_BEGIN_TRY
+ {
+ strpad = H5Tget_strpad(type);
+ }
H5E_END_TRY;
VERIFY(strpad, FAIL, "H5Tget_strpad");
@@ -476,7 +485,10 @@ test_vltypes_vlen_atomic(void)
VERIFY(size, ((SPACE1_DIM1 * (SPACE1_DIM1 + 1)) / 2) * sizeof(unsigned int), "H5Dvlen_get_buf_size");
/* Try to call H5Dvlen_get_buf with bad dataspace */
- H5E_BEGIN_TRY { ret = H5Dvlen_get_buf_size(dataset, tid1, sid2, &size); }
+ H5E_BEGIN_TRY
+ {
+ ret = H5Dvlen_get_buf_size(dataset, tid1, sid2, &size);
+ }
H5E_END_TRY
VERIFY(ret, FAIL, "H5Dvlen_get_buf_size");
@@ -507,7 +519,10 @@ test_vltypes_vlen_atomic(void)
/* Try to reclaim read data using "bad" dataspace with no extent
* Should fail */
- H5E_BEGIN_TRY { ret = H5Treclaim(tid1, sid2, xfer_pid, rdata); }
+ H5E_BEGIN_TRY
+ {
+ ret = H5Treclaim(tid1, sid2, xfer_pid, rdata);
+ }
H5E_END_TRY
VERIFY(ret, FAIL, "H5Treclaim");