Skip to content

Commit

Permalink
tsohm.c
Browse files Browse the repository at this point in the history
  • Loading branch information
seanm committed Jul 18, 2023
1 parent ae665d3 commit 64c1c49
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/tsohm.c
Original file line number Diff line number Diff line change
Expand Up @@ -3266,7 +3266,7 @@ verify_dataset_extension(hid_t fcpl_id, hbool_t close_reopen)
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
#define TSOHM_VDE_VERIFY_SPACES(dims) \
{ \
do { \
/* Open dataspaces \
*/ \
space1_id = H5Dget_space(dset1_id); \
Expand Down Expand Up @@ -3300,7 +3300,7 @@ verify_dataset_extension(hid_t fcpl_id, hbool_t close_reopen)
CHECK_I(H5Sclose(space1_id), "H5Sclose"); \
CHECK_I(H5Sclose(space2_id), "H5Sclose"); \
CHECK_I(H5Sclose(space3_id), "H5Sclose"); \
} /* define TSOHM_VDE_VERIFY_SPACES */
} while (0) /* define TSOHM_VDE_VERIFY_SPACES */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* Macro: TSOHM_VDE_CLOSE_REOPEN_FILE_AND_DSETS()
Expand All @@ -3315,7 +3315,7 @@ verify_dataset_extension(hid_t fcpl_id, hbool_t close_reopen)
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
#define TSOHM_VDE_CLOSE_REOPEN_FILE_AND_DSETS(n) \
{ \
do { \
CHECK_I(H5Dclose(dset1_id), "H5Dclose"); \
if ((n) > 1) \
CHECK_I(H5Dclose(dset2_id), "H5Dclose"); \
Expand All @@ -3335,7 +3335,7 @@ verify_dataset_extension(hid_t fcpl_id, hbool_t close_reopen)
dset3_id = H5Dopen2(file_id, "dataset3", H5P_DEFAULT); \
CHECK_I(dset3_id, "H5Dopen2"); \
} \
} /* define TSOHM_VDE_CLOSE_REOPEN_FILE_AND_DSETS */
} while (0) /* define TSOHM_VDE_CLOSE_REOPEN_FILE_AND_DSETS */

/* Remember the current # of reported errors */
old_nerrs = GetTestNumErrs();
Expand Down

0 comments on commit 64c1c49

Please sign in to comment.