diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-07-28 14:08:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-28 14:08:44 (GMT) |
commit | 9ef2f993cfc7173712729fb40b34d1edae8509d9 (patch) | |
tree | 937a98f4d50cf0cca08fa105ae37589aedb8975c /test/API/testhdf5.h | |
parent | f563c2b926445f7a975553bc7742a38f42d3b6f4 (diff) | |
download | hdf5-9ef2f993cfc7173712729fb40b34d1edae8509d9.zip hdf5-9ef2f993cfc7173712729fb40b34d1edae8509d9.tar.gz hdf5-9ef2f993cfc7173712729fb40b34d1edae8509d9.tar.bz2 |
Sync test dir w/ develop (#3303)
Diffstat (limited to 'test/API/testhdf5.h')
-rw-r--r-- | test/API/testhdf5.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/API/testhdf5.h b/test/API/testhdf5.h index 3d945f8..f2510b2 100644 --- a/test/API/testhdf5.h +++ b/test/API/testhdf5.h @@ -50,7 +50,7 @@ } while (0) #define CHECK_I(ret, where) \ - { \ + do { \ if (VERBOSE_HI) { \ print_func(" Call to routine: %15s at line %4d in %s returned %ld\n", (where), (int)__LINE__, \ __FILE__, (long)(ret)); \ @@ -60,7 +60,7 @@ (int)__LINE__, __FILE__); \ H5Eprint2(H5E_DEFAULT, stdout); \ } \ - } + } while (0) /* Check that a pointer is valid (i.e.: not NULL) */ #define CHECK_PTR(ret, where) \ @@ -207,36 +207,36 @@ #define TEST_STR "Test" #define CLEAN_STR "Cleanup" -#define AT() HDprintf(" at %s:%d in %s()...\n", __FILE__, __LINE__, __func__); +#define AT() printf(" at %s:%d in %s()...\n", __FILE__, __LINE__, __func__); #define TESTING(WHAT) \ { \ - HDprintf("Testing %-62s", WHAT); \ - HDfflush(stdout); \ + printf("Testing %-62s", WHAT); \ + fflush(stdout); \ } #define TESTING_2(WHAT) \ { \ - HDprintf(" Testing %-60s", WHAT); \ - HDfflush(stdout); \ + printf(" Testing %-60s", WHAT); \ + fflush(stdout); \ } #define PASSED() \ { \ HDputs(" PASSED"); \ - HDfflush(stdout); \ + fflush(stdout); \ } #define H5_FAILED() \ { \ HDputs("*FAILED*"); \ - HDfflush(stdout); \ + fflush(stdout); \ } #define H5_WARNING() \ { \ HDputs("*WARNING*"); \ - HDfflush(stdout); \ + fflush(stdout); \ } #define SKIPPED() \ { \ HDputs(" -SKIP-"); \ - HDfflush(stdout); \ + fflush(stdout); \ } #define PUTS_ERROR(s) \ { \ |