summaryrefslogtreecommitdiffstats
path: root/test/enum.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-07-27 20:43:30 (GMT)
committerGitHub <noreply@github.com>2023-07-27 20:43:30 (GMT)
commit1e91d96fa02466ffe451319bdac1005f84dc7993 (patch)
tree4de04ef502c313dfd766497b20235188761146c0 /test/enum.c
parent95e5349089b95dfb95f0f8ce2d6db1bc04ba6c82 (diff)
downloadhdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.zip
hdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.tar.gz
hdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.tar.bz2
Brings over most of the HD prefix removal (#3293)
Diffstat (limited to 'test/enum.c')
-rw-r--r--test/enum.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/test/enum.c b/test/enum.c
index 592236a..3aa2855 100644
--- a/test/enum.c
+++ b/test/enum.c
@@ -192,8 +192,8 @@ test_conv(hid_t file)
for (i = 0; i < (size_t)ds_size[0]; i++)
if (data1[i] != data2[i]) {
H5_FAILED();
- HDprintf(" 1. data1[%lu]=%d, data2[%lu]=%d (should be same)\n", (unsigned long)i,
- (int)(data1[i]), (unsigned long)i, (int)(data2[i]));
+ printf(" 1. data1[%lu]=%d, data2[%lu]=%d (should be same)\n", (unsigned long)i,
+ (int)(data1[i]), (unsigned long)i, (int)(data2[i]));
goto error;
} /* end if */
@@ -204,8 +204,8 @@ test_conv(hid_t file)
for (i = 0; i < (size_t)ds_size[0]; i++)
if ((short)data1[i] != data_short[i]) {
H5_FAILED();
- HDprintf(" 2. data1[%lu]=%d, data_short[%lu]=%d (should be same)\n", (unsigned long)i,
- (int)(data1[i]), (unsigned long)i, (int)(data_short[i]));
+ printf(" 2. data1[%lu]=%d, data_short[%lu]=%d (should be same)\n", (unsigned long)i,
+ (int)(data1[i]), (unsigned long)i, (int)(data_short[i]));
goto error;
} /* end if */
@@ -216,8 +216,8 @@ test_conv(hid_t file)
for (i = 0; i < (size_t)ds_size[0]; i++)
if ((int)data1[i] != (int)data_double[i]) {
H5_FAILED();
- HDprintf(" 3. data1[%lu]=%d, data_double[%lu]=%d (should be same)\n", (unsigned long)i,
- (int)(data1[i]), (unsigned long)i, (int)(data_double[i]));
+ printf(" 3. data1[%lu]=%d, data_double[%lu]=%d (should be same)\n", (unsigned long)i,
+ (int)(data1[i]), (unsigned long)i, (int)(data_double[i]));
goto error;
} /* end if */
@@ -242,8 +242,8 @@ test_conv(hid_t file)
for (i = 0; i < (size_t)ds_size[0]; i++)
if ((int)data1[i] != data_int[i]) {
H5_FAILED();
- HDprintf(" 4. data1[%lu]=%d, data_int[%lu]=%d (should be same)\n", (unsigned long)i,
- (int)(data1[i]), (unsigned long)i, (int)(data_int[i]));
+ printf(" 4. data1[%lu]=%d, data_int[%lu]=%d (should be same)\n", (unsigned long)i,
+ (int)(data1[i]), (unsigned long)i, (int)(data_int[i]));
goto error;
} /* end if */
@@ -268,8 +268,8 @@ test_conv(hid_t file)
for (i = 0; i < (size_t)ds_size[0]; i++)
if ((int)data1[i] != (int)data_double[i]) {
H5_FAILED();
- HDprintf(" 5. data1[%lu]=%d, data_double[%lu]=%d (should be same)\n", (unsigned long)i,
- (int)(data1[i]), (unsigned long)i, (int)(data_double[i]));
+ printf(" 5. data1[%lu]=%d, data_double[%lu]=%d (should be same)\n", (unsigned long)i,
+ (int)(data1[i]), (unsigned long)i, (int)(data_double[i]));
goto error;
} /* end if */
@@ -370,8 +370,8 @@ test_tr1(hid_t file)
for (i = 0; i < (size_t)ds_size[0]; i++)
if (data1[i] != data2[i]) {
H5_FAILED();
- HDprintf(" data1[%lu]=%d, data2[%lu]=%d (should be same)\n", (unsigned long)i, (int)(data1[i]),
- (unsigned long)i, (int)(data2[i]));
+ printf(" data1[%lu]=%d, data2[%lu]=%d (should be same)\n", (unsigned long)i, (int)(data1[i]),
+ (unsigned long)i, (int)(data2[i]));
goto error;
}
@@ -472,8 +472,8 @@ test_tr2(hid_t file)
for (i = 0; i < (size_t)ds_size[0]; i++)
if (data1[i] != data2[i]) {
H5_FAILED();
- HDprintf(" data1[%lu]=%d, data2[%lu]=%d (should be same)\n", (unsigned long)i, (int)(data1[i]),
- (unsigned long)i, (int)(data2[i]));
+ printf(" data1[%lu]=%d, data2[%lu]=%d (should be same)\n", (unsigned long)i, (int)(data1[i]),
+ (unsigned long)i, (int)(data2[i]));
goto error;
}
@@ -660,7 +660,7 @@ test_funcs(void)
H5E_END_TRY;
if (ret >= 0) {
H5_FAILED();
- HDprintf("Operation not allowed for this type.\n");
+ printf("Operation not allowed for this type.\n");
goto error;
} /* end if */
@@ -671,7 +671,7 @@ test_funcs(void)
H5E_END_TRY;
if (size > 0) {
H5_FAILED();
- HDprintf("Operation not allowed for this type.\n");
+ printf("Operation not allowed for this type.\n");
goto error;
} /* end if */
@@ -682,7 +682,7 @@ test_funcs(void)
H5E_END_TRY;
if (inpad > -1) {
H5_FAILED();
- HDprintf("Operation not allowed for this type.\n");
+ printf("Operation not allowed for this type.\n");
goto error;
} /* end if */
@@ -693,7 +693,7 @@ test_funcs(void)
H5E_END_TRY;
if (cset > -1) {
H5_FAILED();
- HDprintf("Operation not allowed for this type.\n");
+ printf("Operation not allowed for this type.\n");
goto error;
} /* end if */
@@ -705,7 +705,7 @@ test_funcs(void)
H5E_END_TRY;
if (ret >= 0) {
H5_FAILED();
- HDprintf("Operation not allowed for this type.\n");
+ printf("Operation not allowed for this type.\n");
goto error;
} /* end if */
@@ -716,7 +716,7 @@ test_funcs(void)
H5E_END_TRY;
if (ret >= 0) {
H5_FAILED();
- HDprintf("Operation not allowed for this type.\n");
+ printf("Operation not allowed for this type.\n");
goto error;
} /* end if */