summaryrefslogtreecommitdiffstats
path: root/test/cross_read.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-05-04 15:49:01 (GMT)
committerGitHub <noreply@github.com>2022-05-04 15:49:01 (GMT)
commit838d050a63d310a38f92a510dc94c0656a84bb51 (patch)
tree55fe7b05c0408ebf4b28c3bfb5cd9a1d04fb2502 /test/cross_read.c
parent19a59c29b93c04ae069881da2354d3d7048619b9 (diff)
downloadhdf5-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/cross_read.c')
-rw-r--r--test/cross_read.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cross_read.c b/test/cross_read.c
index b8a2b46..85845e0 100644
--- a/test/cross_read.c
+++ b/test/cross_read.c
@@ -111,7 +111,7 @@ check_data_i(const char *dsetname, hid_t fid)
/* Close/release resources. */
if (H5Dclose(did) < 0)
- FAIL_STACK_ERROR
+ FAIL_STACK_ERROR;
/* Failure */
if (nerrors) {
@@ -185,7 +185,7 @@ check_data_f(const char *dsetname, hid_t fid)
/* Close/release resources. */
if (H5Dclose(did) < 0)
- FAIL_STACK_ERROR
+ FAIL_STACK_ERROR;
/* Failure */
if (nerrors) {
@@ -327,7 +327,7 @@ check_file(char *filename)
nerrors += check_data_f(DATASETNAME23, fid);
if (H5Fclose(fid))
- FAIL_STACK_ERROR
+ FAIL_STACK_ERROR;
return nerrors;
error: