diff options
Diffstat (limited to 'test/h5test.h')
-rw-r--r-- | test/h5test.h | 24 |
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 */ |