From b50d9b5e8ad4edee0745729f02790d8dbca39a7e Mon Sep 17 00:00:00 2001 From: "vchoi-hdfgroup.org" Date: Thu, 14 Sep 2023 12:30:10 -0500 Subject: [PATCH] Restore NX and set set_buf to always true. --- test/cmpd_dset.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/test/cmpd_dset.c b/test/cmpd_dset.c index b253cf0cb37..d7329d127b5 100644 --- a/test/cmpd_dset.c +++ b/test/cmpd_dset.c @@ -104,9 +104,8 @@ typedef struct { long long r, s, t; } stype4; -/* changes NY to 200 from 2000 */ #define NX 100U -#define NY 200U +#define NY 2000U #define PACK_NMEMBS 100 static void initialize_stype1(unsigned char *buf, size_t num); @@ -143,8 +142,6 @@ compare_stype4_data(void *expect_buf, void *rbuf) stype4 *s2_ptr; s1_ptr = ((stype4 *)expect_buf) + i; s2_ptr = ((stype4 *)rbuf) + i; - if (i == 5241) - printf("HERe at 5241"); if (s1_ptr->a != s2_ptr->a) { printf("a is different\n"); @@ -255,9 +252,8 @@ compare_stype4_data(void *expect_buf, void *rbuf) err = TRUE; } - if (err || i == 5241) { - if (err) - H5_FAILED(); + if (err) { + if (err) H5_FAILED(); printf(" i=%d\n", i); printf(" exp_buf={a=%d, b=%d, c=[%d,%d,%d,%d,%d,%d,%d,%d], d=%d, e=%d, f=%f, g=%f, " "h=[%f,%f,%f,%f,%f,%f,%f,%f,%f,%f,%f,%f,%f,%f,%f,%f], i=%f, j=%f, k=%f, l=%f, m=%f, n=%f, " @@ -874,7 +870,7 @@ test_compounds_selection_io(void) for (set_fillvalue = FALSE; set_fillvalue <= TRUE; set_fillvalue++) { for (select_io = FALSE; select_io <= TRUE; select_io++) { for (mwbuf = FALSE; mwbuf <= TRUE; mwbuf++) { - for (set_buf = FALSE; set_buf <= TRUE; set_buf++) { + for (set_buf = TRUE; set_buf <= TRUE; set_buf++) { if ((dxpl = H5Pcreate(H5P_DATASET_XFER)) < 0) goto error;