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/cross_read.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/cross_read.c')
-rw-r--r-- | test/cross_read.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/cross_read.c b/test/cross_read.c index 8e9bff0..e52bea1 100644 --- a/test/cross_read.c +++ b/test/cross_read.c @@ -104,8 +104,8 @@ check_data_i(const char *dsetname, hid_t fid) if (data_out[i][j] != data_in[i][j]) if (!nerrors++) { H5_FAILED(); - HDprintf("element [%d][%d] is %lld but should have been %lld\n", (int)i, (int)j, - data_out[i][j], data_in[i][j]); + printf("element [%d][%d] is %lld but should have been %lld\n", (int)i, (int)j, + data_out[i][j], data_in[i][j]); } /* end if */ /* Close/release resources. */ @@ -114,7 +114,7 @@ check_data_i(const char *dsetname, hid_t fid) /* Failure */ if (nerrors) { - HDprintf("total of %d errors out of %d elements\n", nerrors, (int)(NX * NY)); + printf("total of %d errors out of %d elements\n", nerrors, (int)(NX * NY)); return 1; } /* end if */ @@ -178,8 +178,8 @@ check_data_f(const char *dsetname, hid_t fid) if (!H5_DBL_REL_EQUAL(data_out[i][j], data_in[i][j], 0.001)) if (!nerrors++) { H5_FAILED(); - HDprintf("element [%d][%d] is %g but should have been %g\n", (int)i, (int)j, - data_out[i][j], data_in[i][j]); + printf("element [%d][%d] is %g but should have been %g\n", (int)i, (int)j, data_out[i][j], + data_in[i][j]); } /* end if */ /* Close/release resources. */ @@ -188,7 +188,7 @@ check_data_f(const char *dsetname, hid_t fid) /* Failure */ if (nerrors) { - HDprintf("total of %d errors out of %d elements\n", nerrors, (int)(NX * NY)); + printf("total of %d errors out of %d elements\n", nerrors, (int)(NX * NY)); return 1; } /* end if */ @@ -382,10 +382,10 @@ main(void) nerrors += check_file(filename); if (nerrors) { - HDprintf("***** %d FAILURE%s! *****\n", nerrors, 1 == nerrors ? "" : "S"); + printf("***** %d FAILURE%s! *****\n", nerrors, 1 == nerrors ? "" : "S"); return EXIT_FAILURE; } /* end if */ - HDprintf("All data type tests passed.\n"); + printf("All data type tests passed.\n"); return EXIT_SUCCESS; } /* end main() */ |