summaryrefslogtreecommitdiffstats
path: root/test/timer.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-10-24 00:13:05 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-10-24 00:13:05 (GMT)
commitca3659a01427cd58e5fddb57349b7030e5cb2dcd (patch)
tree5633c0b4bb7b5174518d27b33db43228c1c538d0 /test/timer.c
parentf9679de85c9de96603d448950da5e1f2c18b4494 (diff)
downloadhdf5-ca3659a01427cd58e5fddb57349b7030e5cb2dcd.zip
hdf5-ca3659a01427cd58e5fddb57349b7030e5cb2dcd.tar.gz
hdf5-ca3659a01427cd58e5fddb57349b7030e5cb2dcd.tar.bz2
HD prefix updates in src/ and test/
Adds missing HD prefixes to API calls in src and test. Adds some extra processing to bin/checkposix to keep the noise levels down when running the script (not comprehensive).
Diffstat (limited to 'test/timer.c')
-rw-r--r--test/timer.c9
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;
}
}