Skip to content

Commit

Permalink
Restore NX and set set_buf to always true.
Browse files Browse the repository at this point in the history
  • Loading branch information
vchoi-hdfgroup committed Sep 14, 2023
1 parent 4ab6ace commit b50d9b5
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions test/cmpd_dset.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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");
Expand Down Expand Up @@ -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, "
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit b50d9b5

Please sign in to comment.