diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2020-10-26 17:53:28 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2020-10-26 17:53:28 (GMT) |
commit | a4269a08b91e794c1de4058348e076be9fef657e (patch) | |
tree | f28bc18de5c53bd8f3a824a116f8b78f5c48ae6f /test/timer.c | |
parent | 7bfa10018ecf5efe54b4a699bb684d31468c8b42 (diff) | |
parent | 313a8c8546b3b975fba722b015c8c8269dd240cb (diff) | |
download | hdf5-a4269a08b91e794c1de4058348e076be9fef657e.zip hdf5-a4269a08b91e794c1de4058348e076be9fef657e.tar.gz hdf5-a4269a08b91e794c1de4058348e076be9fef657e.tar.bz2 |
Merge branch 'develop' of https://github.com/HDFGroup/hdf5 into develop
Diffstat (limited to 'test/timer.c')
-rw-r--r-- | test/timer.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/timer.c b/test/timer.c index e907655..24f3245 100644 --- a/test/timer.c +++ b/test/timer.c @@ -146,7 +146,7 @@ test_timer_system_user(void) */ if (timer.initial.system < (double)0.0f || timer.initial.user < (double)0.0f) { SKIPPED(); - printf("NOTE: No suitable way to get system/user times on this platform.\n"); + HDprintf("NOTE: No suitable way to get system/user times on this platform.\n"); return 0; } @@ -383,7 +383,7 @@ main(void) h5_reset(); - printf("Testing platform-independent timer functionality.\n"); + HDprintf("Testing platform-independent timer functionality.\n"); nerrors += test_time_formatting() < 0 ? 1 : 0; nerrors += test_timer_system_user() < 0 ? 1 : 0; @@ -391,11 +391,12 @@ main(void) nerrors += test_timer_functionality() < 0 ? 1 : 0; if (nerrors) { - printf("***** %d platform-independent timer TEST%s FAILED! *****\n", nerrors, nerrors > 1 ? "S" : ""); + HDprintf("***** %d platform-independent timer TEST%s FAILED! *****\n", nerrors, + nerrors > 1 ? "S" : ""); return 1; } else { - printf("All platform-independent timer tests passed.\n"); + HDprintf("All platform-independent timer tests passed.\n"); return 0; } } |