diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2022-05-04 15:49:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-04 15:49:01 (GMT) |
commit | 838d050a63d310a38f92a510dc94c0656a84bb51 (patch) | |
tree | 55fe7b05c0408ebf4b28c3bfb5cd9a1d04fb2502 /test/dt_arith.c | |
parent | 19a59c29b93c04ae069881da2354d3d7048619b9 (diff) | |
download | hdf5-838d050a63d310a38f92a510dc94c0656a84bb51.zip hdf5-838d050a63d310a38f92a510dc94c0656a84bb51.tar.gz hdf5-838d050a63d310a38f92a510dc94c0656a84bb51.tar.bz2 |
h5test.h testing macros get enclosed in do..while loops (#1721)
* h5test.h testing macros get enclosed in do..while loops
* Adds missed macro in hl C++ code
* Fixes macro in Windows code
Diffstat (limited to 'test/dt_arith.c')
-rw-r--r-- | test/dt_arith.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/dt_arith.c b/test/dt_arith.c index 96e9ab4..3601b95 100644 --- a/test/dt_arith.c +++ b/test/dt_arith.c @@ -915,7 +915,7 @@ test_derived_flt(void) } if ((tid1 = H5Topen2(file, "new float type 1", H5P_DEFAULT)) < 0) - FAIL_PUTS_ERROR("Can't open datatype") + FAIL_PUTS_ERROR("Can't open datatype"); if (H5Tget_fields(tid1, &spos, &epos, &esize, &mpos, &msize) < 0) { H5_FAILED(); HDprintf("Can't get fields\n"); @@ -1075,7 +1075,7 @@ test_derived_flt(void) } if ((tid2 = H5Topen2(file, "new float type 2", H5P_DEFAULT)) < 0) - FAIL_PUTS_ERROR("Can't open datatype") + FAIL_PUTS_ERROR("Can't open datatype"); if (H5Tget_fields(tid2, &spos, &epos, &esize, &mpos, &msize) < 0) { H5_FAILED(); HDprintf("Can't get fields\n"); @@ -1351,7 +1351,7 @@ test_derived_integer(void) } if ((tid1 = H5Topen2(file, "new integer type 1", H5P_DEFAULT)) < 0) - FAIL_PUTS_ERROR("Can't open datatype") + FAIL_PUTS_ERROR("Can't open datatype"); if (H5Tget_precision(tid1) != 24) { H5_FAILED(); HDprintf("Can't get precision or wrong precision\n"); @@ -1412,7 +1412,7 @@ test_derived_integer(void) } if ((tid2 = H5Topen2(file, "new integer type 2", H5P_DEFAULT)) < 0) - FAIL_PUTS_ERROR("Can't open datatype") + FAIL_PUTS_ERROR("Can't open datatype"); if (H5Tget_precision(tid2) != 48) { H5_FAILED(); HDprintf("Can't get precision or wrong precision\n"); |