summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-12-21 18:07:25 (GMT)
committerGitHub <noreply@github.com>2022-12-21 18:07:25 (GMT)
commit9f5cf0a45748fcb7ced4f4619d7c6c76cb3f67ab (patch)
tree2f237d0865fa37db7ad56d7182978db4258488fa /test
parent976e8c97504cfbce40c565b02a01d29006350c6b (diff)
downloadhdf5-9f5cf0a45748fcb7ced4f4619d7c6c76cb3f67ab.zip
hdf5-9f5cf0a45748fcb7ced4f4619d7c6c76cb3f67ab.tar.gz
hdf5-9f5cf0a45748fcb7ced4f4619d7c6c76cb3f67ab.tar.bz2
H5F_LIBVER_LATEST changes for move to 1.15 (#2288)
* H5F_LIBVER_LATEST changes for move to 1.15 * Add new default api check * Format fixes * Fix default configure * fix lib version tests * Fix another version variable * Add 1.14 doc link
Diffstat (limited to 'test')
-rw-r--r--test/chunk_info.c9
-rw-r--r--test/dtypes.c6
-rw-r--r--test/h5test.c3
-rw-r--r--test/tfile.c1
4 files changed, 13 insertions, 6 deletions
diff --git a/test/chunk_info.c b/test/chunk_info.c
index 5651b26..6f3359e 100644
--- a/test/chunk_info.c
+++ b/test/chunk_info.c
@@ -47,8 +47,13 @@
#endif
/* Test file names, using H5F_libver_t as indices */
-const char *FILENAME[] = {"tchunk_info_earliest", "tchunk_info_v18", "tchunk_info_v110",
- "tchunk_info_v112", "tchunk_info_v114", NULL};
+const char *FILENAME[] = {"tchunk_info_earliest",
+ "tchunk_info_v18",
+ "tchunk_info_v110",
+ "tchunk_info_v112",
+ "tchunk_info_v114",
+ "tchunk_info_v116",
+ NULL};
/* File to be used in test_failed_attempts */
#define FILTERMASK_FILE "tflt_msk"
diff --git a/test/dtypes.c b/test/dtypes.c
index cffc08f..2d0dc88 100644
--- a/test/dtypes.c
+++ b/test/dtypes.c
@@ -8695,9 +8695,9 @@ test_versionbounds(void)
H5T_t *dtypep = NULL; /* Pointer to internal structure of a datatype */
hsize_t arr_dim[] = {ARRAY_LEN}; /* Length of the array */
int low, high; /* Indices for iterating over versions */
- H5F_libver_t versions[] = {H5F_LIBVER_EARLIEST, H5F_LIBVER_V18, H5F_LIBVER_V110, H5F_LIBVER_V112,
- H5F_LIBVER_V114};
- int versions_count = 5; /* Number of version bounds in the array */
+ H5F_libver_t versions[] = {H5F_LIBVER_EARLIEST, H5F_LIBVER_V18, H5F_LIBVER_V110,
+ H5F_LIBVER_V112, H5F_LIBVER_V114, H5F_LIBVER_V114};
+ int versions_count = 6; /* Number of version bounds in the array */
unsigned highest_version; /* Highest version in nested datatypes */
color_t enum_val; /* Enum type index */
herr_t ret = 0; /* Generic return value */
diff --git a/test/h5test.c b/test/h5test.c
index b4bf102..0138c69 100644
--- a/test/h5test.c
+++ b/test/h5test.c
@@ -109,7 +109,8 @@ const char *LIBVER_NAMES[] = {"earliest", /* H5F_LIBVER_EARLIEST = 0 */
"v18", /* H5F_LIBVER_V18 = 1 */
"v110", /* H5F_LIBVER_V110 = 2 */
"v112", /* H5F_LIBVER_V112 = 3 */
- "latest", /* H5F_LIBVER_V114 = 4 */
+ "v114", /* H5F_LIBVER_V114 = 4 */
+ "latest", /* H5F_LIBVER_V116 = 5 */
NULL};
/* Previous error reporting function */
diff --git a/test/tfile.c b/test/tfile.c
index 16e55c6..dd72da6 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -5915,6 +5915,7 @@ test_libver_bounds_super_create(hid_t fapl, hid_t fcpl, htri_t is_swmr, htri_t n
case H5F_LIBVER_V110:
case H5F_LIBVER_V112:
case H5F_LIBVER_V114:
+ case H5F_LIBVER_V116:
ok = (f->shared->sblock->super_vers == HDF5_SUPERBLOCK_VERSION_3);
VERIFY(ok, TRUE, "HDF5_superblock_ver_bounds");
break;