aboutsummaryrefslogtreecommitdiff
path: root/rt/tst-clock.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-12-11 20:46:47 +0000
committerUlrich Drepper <drepper@redhat.com>2003-12-11 20:46:47 +0000
commit092eb73ca2507c29adb37cd8075730e43c1e3794 (patch)
tree3898bbd02791720be314b47950e2c19a06c68a4c /rt/tst-clock.c
parent209454572369b17c5c038e2bf5295b789799e072 (diff)
downloadglibc-092eb73ca2507c29adb37cd8075730e43c1e3794.zip
glibc-092eb73ca2507c29adb37cd8075730e43c1e3794.tar.gz
glibc-092eb73ca2507c29adb37cd8075730e43c1e3794.tar.bz2
Update.
2003-12-01 Jes Sorensen <jes@wildopensource.com> * rt/tst-clock.c (do_test): Print message when skipping CLOCK_PROCESS_CPUTIME_ID test. * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c: New file. Provide CLOCK_PROCESS_CPUTIME_ID only if /proc/sal/itc_drift is 0. peek_token. This avoids some copying and reduces code size. (init_dfa): Initialize map_notascii. (build_wcs_upper_buffer): If map_notascii is zero use simplified
Diffstat (limited to 'rt/tst-clock.c')
-rw-r--r--rt/tst-clock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rt/tst-clock.c b/rt/tst-clock.c
index 37b4619..f2f1887 100644
--- a/rt/tst-clock.c
+++ b/rt/tst-clock.c
@@ -113,6 +113,8 @@ do_test (void)
if (clock_getcpuclockid (0, &cl) == 0)
/* XXX It's not yet a bug when this fails. */
clock_test (cl);
+ else
+ printf("CPU clock unavailble, skipping test\n");
return result;
}