Commit Graph

2 Commits

Author SHA1 Message Date
Roland McGrath b321a6e3cc 2004-12-07 Roland McGrath <roland@redhat.com>
* rt/tst-timer5.c (setup_test): New function.
	(TEST_CLOCK_MISSING): Use it to punt test if timer_create does not
	support CLOCK_MONOTONIC.
2004-12-07 20:44:46 +00:00
Roland McGrath bc5cb1e6aa 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.
2004-12-06 22:28:45 +00:00