diff options
author | Vailin Choi <vchoi@jam.ad.hdfgroup.org> | 2019-12-06 17:55:36 (GMT) |
---|---|---|
committer | Vailin Choi <vchoi@jam.ad.hdfgroup.org> | 2019-12-06 17:55:36 (GMT) |
commit | b42325e8f5ff3b6bfa2ce446af5b6dc5cbbff666 (patch) | |
tree | 1cebb052104b0f2792f72759ee44c9db2498c7ab | |
parent | bb9fdb8f4bc67de9cde4f91e0b030bee47f39621 (diff) | |
download | hdf5-b42325e8f5ff3b6bfa2ce446af5b6dc5cbbff666.zip hdf5-b42325e8f5ff3b6bfa2ce446af5b6dc5cbbff666.tar.gz hdf5-b42325e8f5ff3b6bfa2ce446af5b6dc5cbbff666.tar.bz2 |
More fixes for previous committed PR #2079 dated Dec 5 2019.
(1) H5O_dtype_ver_bounds[] for V112 should be H5O_DTYPE_VRESION_4
(2) The tests for the new reference types should work for V112 and beyond
-rw-r--r-- | src/H5T.c | 2 | ||||
-rw-r--r-- | test/trefer.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -533,7 +533,7 @@ const unsigned H5O_dtype_ver_bounds[] = { H5O_DTYPE_VERSION_1, /* H5F_LIBVER_EARLIEST */ H5O_DTYPE_VERSION_3, /* H5F_LIBVER_V18 */ H5O_DTYPE_VERSION_3, /* H5F_LIBVER_V110 */ - H5O_DTYPE_VERSION_3, /* H5F_LIBVER_V112 */ + H5O_DTYPE_VERSION_4, /* H5F_LIBVER_V112 */ H5O_DTYPE_VERSION_LATEST /* H5F_LIBVER_LATEST */ }; diff --git a/test/trefer.c b/test/trefer.c index cd09c8e..b412fc2 100644 --- a/test/trefer.c +++ b/test/trefer.c @@ -2816,7 +2816,7 @@ test_reference(void) for(high = H5F_LIBVER_EARLIEST; high < H5F_LIBVER_NBOUNDS; high++) { /* Invalid combinations, just continue */ - if(high <= H5F_LIBVER_V112 || high < low) + if(high <= H5F_LIBVER_V110 || high < low) continue; test_reference_region(low, high); /* Test basic H5R dataset region reference code */ |