Commit Graph

19 Commits

Author SHA1 Message Date
Sebastian Huber
698c2e504a tests/psxtests: Use <rtems/test.h> 2014-03-25 08:06:16 +01:00
Chris Johns
c49985691f Change all references of rtems.com to rtems.org. 2014-03-21 08:10:47 +11:00
Sebastian Huber
f031df0e63 score: Rename tod.h to todimpl.h 2013-08-01 16:45:45 +02:00
Sebastian Huber
88c74ab115 score: Merge tod implementation into one file
Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and
TOD_MILLISECONDS_TO_TICKS().
2013-07-26 11:55:47 +02:00
Joel Sherrill
6c2de6052d psxtests - Eliminate missing prototype warnings 2012-05-11 14:12:11 -05:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines
  next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
  contain CVS Ids
+ If the processing left a blank line at the top of
  a file, it was removed.
2012-05-11 08:44:13 -05:00
Ralf Corsepius
4562dd8789 2011-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* psx01/init.c, psx07/init.c, psx09/init.c, psx12/init.c,
	psxclock/init.c, psxtimer01/psxtimer.c: Include "pritime.h".
	Use PRIdtime_t to print time_t.
2011-09-30 02:53:32 +00:00
Ralf Corsepius
42ba09163e 2011-05-16 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
* psxclock/init.c (Init):
	Use CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
	* psxclock/psxclock.scn: Regenerate.
2011-05-18 05:19:30 +00:00
Ralf Corsepius
cafefbf263 Add HAVE_CONFIG_H. 2011-02-22 09:47:36 +00:00
Joel Sherrill
2317457e10 2009-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/pmacros.h, psx01/task.c, psx02/init.c, psx02/task.c,
	psx03/init.c, psx03/task.c, psx04/init.c, psx04/task1.c,
	psx04/task2.c, psx04/task3.c, psx05/init.c, psx05/task.c,
	psx05/task2.c, psx05/task3.c, psx06/init.c, psx06/task.c,
	psx06/task2.c, psx07/init.c, psx08/init.c, psx08/task2.c,
	psx08/task3.c, psx09/init.c, psx10/init.c, psx10/task.c,
	psx10/task2.c, psx10/task3.c, psx11/init.c, psx11/task.c,
	psx12/init.c, psxalarm01/init.c, psxbarrier01/test.c,
	psxcancel01/init.c, psxchroot01/test.c, psxclock/init.c,
	psxfile01/test.c, psxfile01/test_cat.c, psxfile01/test_extend.c,
	psxfile01/test_write.c, psxitimer/init.c, psxkey01/task.c,
	psxkey02/init.c, psxkey03/init.c, psxmount/test.c, psxmsgq01/init.c,
	psxmsgq03/init.c, psxmsgq04/init.c, psxreaddir/test.c,
	psxrwlock01/test.c, psxsem01/init.c, psxsignal01/init.c,
	psxsignal01/task1.c, psxsignal02/init.c, psxsignal03/init.c,
	psxsignal05/init.c, psxspin01/test.c, psxspin02/test.c,
	psxstack01/init.c, psxstat/test.c, psxtime/test.c, psxualarm/init.c:
	Use rtems_test_assert() consistently instead of system assert().
	rtems_test_assert() is designed to integrate into the RTEMS test
	suite infrastructure.
2009-12-08 17:52:53 +00:00
Ralf Corsepius
b1274bd94c Whitespace removal. 2009-11-30 03:33:25 +00:00
Joel Sherrill
ea7d86b245 2009-11-11 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1466/tests
	* Makefile.am, configure.ac, psxclock/init.c, psxclock/psxclock.doc,
	psxclock/psxclock.scn, psxkey03/init.c, psxsignal02/init.c,
	psxsignal03/init.c, psxstack01/init.c: Remove usleep() from tests.
	Add test specifically to test it since it is deprecated as of
	POSIX.1-2008.
	* psxusleep/.cvsignore, psxusleep/Makefile.am, psxusleep/init.c,
	psxusleep/psxusleep.doc, psxusleep/psxusleep.scn: New files.
2009-11-12 00:21:51 +00:00
Ralf Corsepius
17c7533410 Use %ld to print *.tv_nsec. 2009-10-27 03:57:28 +00:00
Ralf Corsepius
d2a3b42ed7 Use PRItime_t to print time_t's. 2009-10-26 09:10:20 +00:00
Ralf Corsepius
b6912c40f8 Remove unused vars.
Add missing prototypes.
2009-10-25 06:25:04 +00:00
Joel Sherrill
f343b668ac 2009-09-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxclock/init.c, psxclock/psxclock.scn: Add test case for negative
	nanoseconds.
2009-09-21 13:14:37 +00:00
Joel Sherrill
ab2422c01f 2009-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxtests/psxclock/init.c, psxtests/psxclock/psxclock.scn: Add test
	case for nanosleep of a very small delay which mathematically is less
	than a clock tick.
2009-09-14 17:59:29 +00:00
Joel Sherrill
1e2d751036 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxclock/init.c, psxclock/psxclock.scn, psxenosys/init.c,
	psxenosys/psxenosys.scn, psxsignal03/Makefile.am, psxsignal03/init.c,
	psxsignal04/Makefile.am: Move test cases which needed to be executed
	when POSIX is disabled to psxclock so they will be.
2009-09-14 00:15:55 +00:00
Joel Sherrill
88271c3308 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, psx01/init.c, psx01/psx01.scn: Add new
	test to exercise clock and delay services enabled when POSIX threads
	are disabled. This is split from psx01. POSIX test suite now enabled
	when POSIX threads are disabled so only enable tests which are
	appropriate.
	* psxclock/.cvsignore, psxclock/Makefile.am, psxclock/init.c,
	psxclock/psxclock.doc, psxclock/psxclock.scn: New files.
2009-09-13 20:36:36 +00:00