summaryrefslogtreecommitdiffstats
path: root/test/h5test.h
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-07-28 14:08:44 (GMT)
committerGitHub <noreply@github.com>2023-07-28 14:08:44 (GMT)
commit9ef2f993cfc7173712729fb40b34d1edae8509d9 (patch)
tree937a98f4d50cf0cca08fa105ae37589aedb8975c /test/h5test.h
parentf563c2b926445f7a975553bc7742a38f42d3b6f4 (diff)
downloadhdf5-9ef2f993cfc7173712729fb40b34d1edae8509d9.zip
hdf5-9ef2f993cfc7173712729fb40b34d1edae8509d9.tar.gz
hdf5-9ef2f993cfc7173712729fb40b34d1edae8509d9.tar.bz2
Sync test dir w/ develop (#3303)
Diffstat (limited to 'test/h5test.h')
-rw-r--r--test/h5test.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/test/h5test.h b/test/h5test.h
index 1a94c09..27d90af 100644
--- a/test/h5test.h
+++ b/test/h5test.h
@@ -87,7 +87,7 @@ H5TEST_DLLVAR MPI_Info h5_io_info_g; /* MPI INFO object for IO */
*/
#define AT() \
do { \
- HDprintf(" at %s:%d in %s()...\n", __FILE__, __LINE__, __func__); \
+ printf(" at %s:%d in %s()...\n", __FILE__, __LINE__, __func__); \
} while (0)
/*
@@ -101,37 +101,37 @@ H5TEST_DLLVAR MPI_Info h5_io_info_g; /* MPI INFO object for IO */
*/
#define TESTING(WHAT) \
do { \
- HDprintf("Testing %-62s", WHAT); \
- HDfflush(stdout); \
+ printf("Testing %-62s", WHAT); \
+ fflush(stdout); \
n_tests_run_g++; \
} while (0)
#define TESTING_2(WHAT) \
do { \
- HDprintf(" Testing %-60s", WHAT); \
- HDfflush(stdout); \
+ printf(" Testing %-60s", WHAT); \
+ fflush(stdout); \
n_tests_run_g++; \
} while (0)
#define PASSED() \
do { \
HDputs(" PASSED"); \
- HDfflush(stdout); \
+ fflush(stdout); \
n_tests_passed_g++; \
} while (0)
#define H5_FAILED() \
do { \
HDputs("*FAILED*"); \
- HDfflush(stdout); \
+ fflush(stdout); \
n_tests_failed_g++; \
} while (0)
#define H5_WARNING() \
do { \
HDputs("*WARNING*"); \
- HDfflush(stdout); \
+ fflush(stdout); \
} while (0)
#define SKIPPED() \
do { \
HDputs(" -SKIP-"); \
- HDfflush(stdout); \
+ fflush(stdout); \
n_tests_skipped_g++; \
} while (0)
#define PUTS_ERROR(s) \
@@ -171,9 +171,9 @@ H5TEST_DLLVAR MPI_Info h5_io_info_g; /* MPI INFO object for IO */
*/
#define TESTING_MULTIPART(WHAT) \
do { \
- HDprintf("Testing %-62s", WHAT); \
+ printf("Testing %-62s", WHAT); \
HDputs(""); \
- HDfflush(stdout); \
+ fflush(stdout); \
} while (0)
/*
@@ -263,7 +263,7 @@ extern "C" {
* an equivalent non-const pointer around) is far messier.
*/
#ifndef h5_free_const
-#define h5_free_const(mem) HDfree((void *)(uintptr_t)mem)
+#define h5_free_const(mem) free((void *)(uintptr_t)mem)
#endif
/* Generally useful testing routines */