summaryrefslogtreecommitdiffstats
path: root/test/th5o.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-04-22 06:25:12 (GMT)
committerGitHub <noreply@github.com>2023-04-22 06:25:12 (GMT)
commit7707859279a60b32d2b6c915442a7c04d44445b4 (patch)
tree890d16aa2408b270368b36ea4f05ca20fe2f16f6 /test/th5o.c
parenta4371b6fce577852691dfdeac642dec1dd4b9453 (diff)
downloadhdf5-7707859279a60b32d2b6c915442a7c04d44445b4.zip
hdf5-7707859279a60b32d2b6c915442a7c04d44445b4.tar.gz
hdf5-7707859279a60b32d2b6c915442a7c04d44445b4.tar.bz2
Merge with develop (#2790)
Diffstat (limited to 'test/th5o.c')
-rw-r--r--test/th5o.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/th5o.c b/test/th5o.c
index 3e7c80a..027445e 100644
--- a/test/th5o.c
+++ b/test/th5o.c
@@ -49,6 +49,9 @@ test_h5o_open(void)
H5T_class_t type_class; /* Class of the datatype */
herr_t ret; /* Value returned from API calls */
+ /* Output message about test being performed */
+ MESSAGE(5, ("Testing H5Oopen\n"));
+
h5_fixname(TEST_FILENAME, H5P_DEFAULT, filename, sizeof filename);
/* Create a new HDF5 file */
@@ -161,6 +164,9 @@ test_h5o_close(void)
hsize_t dims[RANK];
herr_t ret; /* Value returned from API calls */
+ /* Output message about test being performed */
+ MESSAGE(5, ("Testing H5Oclose\n"));
+
h5_fixname(TEST_FILENAME, H5P_DEFAULT, filename, sizeof filename);
/* Create a new HDF5 file */
@@ -413,6 +419,9 @@ test_h5o_open_by_token(void)
H5T_class_t type_class; /* Class of the datatype */
herr_t ret; /* Value returned from API calls */
+ /* Output message about test being performed */
+ MESSAGE(5, ("Testing H5Oopen_by_token\n"));
+
h5_fixname(TEST_FILENAME, H5P_DEFAULT, filename, sizeof filename);
/* Create a new HDF5 file */
@@ -531,6 +540,9 @@ test_h5o_refcount(void)
hsize_t dims[RANK];
herr_t ret; /* Value returned from API calls */
+ /* Output message about test being performed */
+ MESSAGE(5, ("Testing retrieval of object reference count with H5Oget_info\n"));
+
h5_fixname(TEST_FILENAME, H5P_DEFAULT, filename, sizeof filename);
/* Create a new HDF5 file */
@@ -732,6 +744,9 @@ test_h5o_plist(void)
unsigned max_compact, min_dense; /* Actual phase change parameters */
herr_t ret; /* Value returned from API calls */
+ /* Output message about test being performed */
+ MESSAGE(5, ("Testing Object creation properties\n"));
+
/* Make a FAPL that uses the "use the latest version of the format" flag */
fapl = H5Pcreate(H5P_FILE_ACCESS);
CHECK(fapl, FAIL, "H5Pcreate");
@@ -935,6 +950,9 @@ test_h5o_link(void)
int i, n;
herr_t ret; /* Value returned from API calls */
+ /* Output message about test being performed */
+ MESSAGE(5, ("Testing H5Olink\n"));
+
h5_fixname(TEST_FILENAME, H5P_DEFAULT, filename, sizeof filename);
/* Allocate memory buffers */
@@ -1422,6 +1440,9 @@ test_h5o_getinfo_same_file(void)
H5O_info2_t oinfo1, oinfo2; /* Object info structs */
herr_t ret; /* Value returned from API calls */
+ /* Output message about test being performed */
+ MESSAGE(5, ("Testing H5Oget_info on objects in same file\n"));
+
h5_fixname(TEST_FILENAME, H5P_DEFAULT, filename, sizeof filename);
/* Create a new HDF5 file */
@@ -1720,6 +1741,9 @@ test_h5o_getinfo_visit(void)
int j; /* Local index variable */
herr_t ret; /* Value returned from API calls */
+ /* Output message about test being performed */
+ MESSAGE(5, ("Testing info returned by H5Oget_info vs H5Ovisit\n"));
+
h5_fixname(TEST_FILENAME, H5P_DEFAULT, filename, sizeof filename);
/* Create an HDF5 file */