summaryrefslogtreecommitdiffstats
path: root/test/evict_on_close.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/evict_on_close.c')
-rw-r--r--test/evict_on_close.c42
1 files changed, 21 insertions, 21 deletions
diff --git a/test/evict_on_close.c b/test/evict_on_close.c
index 07efc98..af87c37 100644
--- a/test/evict_on_close.c
+++ b/test/evict_on_close.c
@@ -601,10 +601,10 @@ check_group_layout(hid_t fid, const char *group_name)
before = file_ptr->shared->cache->index_len;
#ifdef EOC_MANUAL_INSPECTION
- HDprintf("\nCACHE BEFORE GROUP OPEN:\n");
+ printf("\nCACHE BEFORE GROUP OPEN:\n");
if (H5AC_dump_cache(file_ptr) < 0)
TEST_ERROR;
- HDprintf("NUMBER OF CACHE ENTRIES: %u\n", before);
+ printf("NUMBER OF CACHE ENTRIES: %u\n", before);
#endif
/* Open the main group and get its tag */
@@ -641,11 +641,11 @@ check_group_layout(hid_t fid, const char *group_name)
during = file_ptr->shared->cache->index_len;
#ifdef EOC_MANUAL_INSPECTION
- HDprintf("\nCACHE AFTER OPENING GROUPS (WHILE OPEN):\n");
+ printf("\nCACHE AFTER OPENING GROUPS (WHILE OPEN):\n");
if (H5AC_dump_cache(file_ptr) < 0)
TEST_ERROR;
- HDprintf("MAIN GROUP TAG: %#X\n", tag1);
- HDprintf("NUMBER OF CACHE ENTRIES: %u\n", during);
+ printf("MAIN GROUP TAG: %#X\n", tag1);
+ printf("NUMBER OF CACHE ENTRIES: %u\n", during);
#endif
/* Close the main group */
@@ -656,10 +656,10 @@ check_group_layout(hid_t fid, const char *group_name)
after = file_ptr->shared->cache->index_len;
#ifdef EOC_MANUAL_INSPECTION
- HDprintf("\nCACHE AFTER CLOSING GROUPS:\n");
+ printf("\nCACHE AFTER CLOSING GROUPS:\n");
if (H5AC_dump_cache(file_ptr) < 0)
TEST_ERROR;
- HDprintf("NUMBER OF CACHE ENTRIES: %u\n", after);
+ printf("NUMBER OF CACHE ENTRIES: %u\n", after);
#endif
/* Ensure that the cache does not contain entries with the tag */
@@ -719,10 +719,10 @@ check_dset_scheme(hid_t fid, const char *dset_name)
before = file_ptr->shared->cache->index_len;
#ifdef EOC_MANUAL_INSPECTION
- HDprintf("\nCACHE BEFORE DATASET OPEN:\n");
+ printf("\nCACHE BEFORE DATASET OPEN:\n");
if (H5AC_dump_cache(file_ptr) < 0)
TEST_ERROR;
- HDprintf("NUMBER OF CACHE ENTRIES: %u\n", before);
+ printf("NUMBER OF CACHE ENTRIES: %u\n", before);
#endif
/* Open dataset and get the metadata tag */
@@ -742,11 +742,11 @@ check_dset_scheme(hid_t fid, const char *dset_name)
during = file_ptr->shared->cache->index_len;
#ifdef EOC_MANUAL_INSPECTION
- HDprintf("\nCACHE AFTER DATA READ (WHILE OPEN):\n");
+ printf("\nCACHE AFTER DATA READ (WHILE OPEN):\n");
if (H5AC_dump_cache(file_ptr) < 0)
TEST_ERROR;
- HDprintf("TAG: %#X\n", tag);
- HDprintf("NUMBER OF CACHE ENTRIES: %u\n", during);
+ printf("TAG: %#X\n", tag);
+ printf("NUMBER OF CACHE ENTRIES: %u\n", during);
#endif
/* Close the dataset */
@@ -757,10 +757,10 @@ check_dset_scheme(hid_t fid, const char *dset_name)
after = file_ptr->shared->cache->index_len;
#ifdef EOC_MANUAL_INSPECTION
- HDprintf("\nCACHE AFTER DATASET CLOSE:\n");
+ printf("\nCACHE AFTER DATASET CLOSE:\n");
if (H5AC_dump_cache(file_ptr) < 0)
TEST_ERROR;
- HDprintf("NUMBER OF CACHE ENTRIES: %u\n", after);
+ printf("NUMBER OF CACHE ENTRIES: %u\n", after);
#endif
/* Ensure that the cache does not contain entries with the tag */
@@ -887,7 +887,7 @@ main(void)
hid_t fid = -1; /* file ID */
unsigned nerrors = 0; /* number of test errors */
- HDprintf("Testing evict-on-close cache behavior\n");
+ printf("Testing evict-on-close cache behavior\n");
/* Initialize */
h5_reset();
@@ -955,13 +955,13 @@ main(void)
if (nerrors)
goto error;
- HDprintf("All evict-on-close tests passed.\n");
+ printf("All evict-on-close tests passed.\n");
HDexit(EXIT_SUCCESS);
error:
- HDprintf("***** %u evict-on-close test%s FAILED! *****\n", nerrors, nerrors > 1 ? "S" : "");
+ printf("***** %u evict-on-close test%s FAILED! *****\n", nerrors, nerrors > 1 ? "S" : "");
h5_delete_all_test_files(FILENAMES, fapl_id);
H5E_BEGIN_TRY
@@ -1035,7 +1035,7 @@ main(void)
{
unsigned nerrors = 0; /* number of test errors */
- HDprintf("Testing evict-on-close cache behavior\n");
+ printf("Testing evict-on-close cache behavior\n");
/* Initialize */
h5_reset();
@@ -1046,14 +1046,14 @@ main(void)
if (nerrors)
goto error;
- HDprintf("All evict-on-close tests passed.\n");
- HDprintf("Note that EoC is not supported under parallel so most tests are skipped.\n");
+ printf("All evict-on-close tests passed.\n");
+ printf("Note that EoC is not supported under parallel so most tests are skipped.\n");
HDexit(EXIT_SUCCESS);
error:
- HDprintf("***** %u evict-on-close test%s FAILED! *****\n", nerrors, nerrors > 1 ? "S" : "");
+ printf("***** %u evict-on-close test%s FAILED! *****\n", nerrors, nerrors > 1 ? "S" : "");
HDexit(EXIT_FAILURE);