2004-12-06 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Mon, 6 Dec 2004 22:28:45 +0000 (22:28 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 6 Dec 2004 22:28:45 +0000 (22:28 +0000)
commitbc5cb1e6aaa5f50f7ec508c1f0c1d8a539da0fcd
treeec842c8e567974c466da767e2daeff0b5331bf2f
parentd8f73de86a4073070f5b626dc66a330d1597df88
2004-12-06  Roland McGrath  <roland@redhat.com>

* rt/tst-timer4.c (TEST_CLOCK, TEST_CLOCK_NANOSLEEP): New macros.
Use them throughout in place of CLOCK_REALTIME and nanosleep.
(do_test) [TEST_CLOCK_MISSING]: Call this macro and if it returns
non-null, punt the test with a message using the string returned.
* rt/tst-timer5.c: New file.
* rt/Makefile (tests): Add it.
rt/Makefile
rt/tst-timer4.c
rt/tst-timer5.c [new file with mode: 0644]