From 8340c4cb1f2d86982fe926f8edfd3f1efb668a55 Mon Sep 17 00:00:00 2001 From: Allen Byrne <50328838+byrnHDF@users.noreply.github.com> Date: Mon, 11 Mar 2024 07:58:35 -0500 Subject: long double tests has problems setting precision with offset (#4102) * long double tests has problems setting precision with offset * Disable long double until more development fixes issues --- test/dsets.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/dsets.c b/test/dsets.c index 09037b3..f5b0f2a 100644 --- a/test/dsets.c +++ b/test/dsets.c @@ -5877,6 +5877,7 @@ test_floattypes(hid_t file) if (H5Dclose(dataset) < 0) goto error; } +#if 0 #if H5_SIZEOF_LONG_DOUBLE != H5_SIZEOF_DOUBLE /* long double */ { @@ -5898,9 +5899,9 @@ test_floattypes(hid_t file) precision = 128; if (H5Tset_precision(datatype, precision) < 0) goto error; - if (H5Tset_fields(datatype, (size_t)127, (size_t)112, (size_t)15, (size_t)5, (size_t)107) < 0) + if (H5Tset_fields(datatype, (size_t)127, (size_t)112, (size_t)15, (size_t)0, (size_t)112) < 0) goto error; - offset = 5; + offset = 0; if (H5Tset_offset(datatype, offset) < 0) goto error; if (H5Tset_size(datatype, (size_t)16) < 0) @@ -5967,6 +5968,7 @@ test_floattypes(hid_t file) goto error; } #endif +#endif return SUCCEED; -- cgit v0.12