From b42325e8f5ff3b6bfa2ce446af5b6dc5cbbff666 Mon Sep 17 00:00:00 2001 From: Vailin Choi Date: Fri, 6 Dec 2019 11:55:36 -0600 Subject: 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 --- src/H5T.c | 2 +- test/trefer.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/H5T.c b/src/H5T.c index f378357..f1c2dbb 100644 --- a/src/H5T.c +++ b/src/H5T.c @@ -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 */ -- cgit v0.12