diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-06-28 15:31:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-28 15:31:32 (GMT) |
commit | 187ea8a9ae1405b5b46ca47a32fb1fb9e2686c98 (patch) | |
tree | baffa167d0796786241aef6b0ce76d4adec3b66e /test/API/th5s.c | |
parent | 7a44581a84778a1346a2fd5b6cca7d9db905a321 (diff) | |
download | hdf5-187ea8a9ae1405b5b46ca47a32fb1fb9e2686c98.zip hdf5-187ea8a9ae1405b5b46ca47a32fb1fb9e2686c98.tar.gz hdf5-187ea8a9ae1405b5b46ca47a32fb1fb9e2686c98.tar.bz2 |
Rename HD(f)printf() to (f)printf() (#3194)
Diffstat (limited to 'test/API/th5s.c')
-rw-r--r-- | test/API/th5s.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/test/API/th5s.c b/test/API/th5s.c index d27e57c..3e403e7 100644 --- a/test/API/th5s.c +++ b/test/API/th5s.c @@ -213,7 +213,7 @@ test_h5s_basic(void) CHECK_I(ret, "H5Fclose"); } else - HDprintf("***cannot open the pre-created H5S_MAX_RANK test file (%s)\n", testfile); + printf("***cannot open the pre-created H5S_MAX_RANK test file (%s)\n", testfile); } #endif /* Verify that incorrect dimensions don't work */ @@ -723,7 +723,7 @@ test_h5s_zero_dim(void) for (j = 0; j < SPACE1_DIM3; j++) { if (rdata[i][j] != 7) { H5_FAILED(); - HDprintf("element [%d][%d] is %d but should have been 7\n", i, j, rdata[i][j]); + printf("element [%d][%d] is %d but should have been 7\n", i, j, rdata[i][j]); } } } @@ -744,7 +744,7 @@ test_h5s_zero_dim(void) for (j = 0; j < SPACE1_DIM3; j++) { if (rdata_short[i][j] != 7) { H5_FAILED(); - HDprintf("element [%d][%d] is %d but should have been 7\n", i, j, rdata_short[i][j]); + printf("element [%d][%d] is %d but should have been 7\n", i, j, rdata_short[i][j]); } } } @@ -821,7 +821,7 @@ test_h5s_zero_dim(void) for (j = 0; j < SPACE1_DIM3; j++) { if (rdata[i][j] != 7) { H5_FAILED(); - HDprintf("element [%d][%d] is %d but should have been 7\n", i, j, rdata[i][j]); + printf("element [%d][%d] is %d but should have been 7\n", i, j, rdata[i][j]); } } @@ -846,8 +846,8 @@ test_h5s_zero_dim(void) for (k = 0; k < SPACE1_DIM3; k++) { if (rdata_real[i][j][k] != wdata_real[i][j][k]) { H5_FAILED(); - HDprintf("element [%d][%d][%d] is %d but should have been %d\n", i, j, k, - rdata_real[i][j][k], wdata_real[i][j][k]); + printf("element [%d][%d][%d] is %d but should have been %d\n", i, j, k, + rdata_real[i][j][k], wdata_real[i][j][k]); } } } @@ -870,7 +870,7 @@ test_h5s_zero_dim(void) for (j = 0; j < SPACE1_DIM3; j++) { if (rdata[i][j] != 7) { H5_FAILED(); - HDprintf("element [%d][%d] is %d but should have been 7\n", i, j, rdata[i][j]); + printf("element [%d][%d] is %d but should have been 7\n", i, j, rdata[i][j]); } } if ((vol_cap_flags_g & H5VL_CAP_FLAG_DATASET_BASIC) && @@ -919,7 +919,7 @@ test_h5s_zero_dim(void) for (j = 0; j < SPACE1_DIM3; j++) { if (rdata[i][j] != 7) { H5_FAILED(); - HDprintf("element [%d][%d] is %d but should have been 7\n", i, j, rdata[i][j]); + printf("element [%d][%d] is %d but should have been 7\n", i, j, rdata[i][j]); } } @@ -962,7 +962,7 @@ test_h5s_zero_dim(void) for (j = 0; j < SPACE1_DIM3; j++) { if (rdata[i][j] != 7) { H5_FAILED(); - HDprintf("element [%d][%d] is %d but should have been 7\n", i, j, rdata[i][j]); + printf("element [%d][%d] is %d but should have been 7\n", i, j, rdata[i][j]); } } } @@ -993,7 +993,7 @@ test_h5s_zero_dim(void) for (j = 0; j < SPACE1_DIM3; j++) { if (rdata[i][j] != 7) { H5_FAILED(); - HDprintf("element [%d][%d] is %d but should have been 7\n", i, j, rdata[i][j]); + printf("element [%d][%d] is %d but should have been 7\n", i, j, rdata[i][j]); } } } @@ -1014,7 +1014,7 @@ test_h5s_zero_dim(void) for (j = 0; j < SPACE1_DIM3; j++) { if (rdata_short[i][j] != 7) { H5_FAILED(); - HDprintf("element [%d][%d] is %d but should have been 7\n", i, j, rdata_short[i][j]); + printf("element [%d][%d] is %d but should have been 7\n", i, j, rdata_short[i][j]); } } } @@ -1074,8 +1074,8 @@ test_h5s_zero_dim(void) for (k = 0; k < SPACE1_DIM3; k++) { if (rdata_real[i][j][k] != wdata_real[i][j][k]) { H5_FAILED(); - HDprintf("element [%d][%d][%d] is %d but should have been %d\n", i, j, k, - rdata_real[i][j][k], wdata_real[i][j][k]); + printf("element [%d][%d][%d] is %d but should have been %d\n", i, j, k, + rdata_real[i][j][k], wdata_real[i][j][k]); } } } @@ -1161,7 +1161,7 @@ test_h5s_zero_dim(void) for (j = 0; j < SPACE1_DIM3; j++) { if (rdata[i][j] != 7) { H5_FAILED(); - HDprintf("element [%d][%d] is %d but should have been 7\n", i, j, rdata[i][j]); + printf("element [%d][%d] is %d but should have been 7\n", i, j, rdata[i][j]); } } } @@ -1198,7 +1198,7 @@ test_h5s_zero_dim(void) for (j = 0; j < SPACE1_DIM3; j++) { if (rdata_short[i][j] != 7) { H5_FAILED(); - HDprintf("element [%d][%d] is %d but should have been 7\n", i, j, rdata_short[i][j]); + printf("element [%d][%d] is %d but should have been 7\n", i, j, rdata_short[i][j]); } } } @@ -2479,10 +2479,10 @@ test_h5s_compound_scalar_read(void) ret = H5Dread(dataset, type, H5S_ALL, H5S_ALL, H5P_DEFAULT, &rdata); CHECK(ret, FAIL, "H5Dread"); if (HDmemcmp(&space4_data, &rdata, sizeof(struct space4_struct)) != 0) { - HDprintf("scalar data different: space4_data.c1=%c, read_data4.c1=%c\n", space4_data.c1, rdata.c1); - HDprintf("scalar data different: space4_data.u=%u, read_data4.u=%u\n", space4_data.u, rdata.u); - HDprintf("scalar data different: space4_data.f=%f, read_data4.f=%f\n", (double)space4_data.f, - (double)rdata.f); + printf("scalar data different: space4_data.c1=%c, read_data4.c1=%c\n", space4_data.c1, rdata.c1); + printf("scalar data different: space4_data.u=%u, read_data4.u=%u\n", space4_data.u, rdata.u); + printf("scalar data different: space4_data.f=%f, read_data4.f=%f\n", (double)space4_data.f, + (double)rdata.f); TestErrPrintf("scalar data different: space4_data.c1=%c, read_data4.c1=%c\n", space4_data.c1, rdata.c2); } /* end if */ |