Commit Graph

1522 Commits

Author SHA1 Message Date
Joel Sherrill
8d4434eb6d 2009-08-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical01/init.c, spintrcritical06/init.c: Use 1 millisecond
	per tick.
2009-08-11 18:49:59 +00:00
Joel Sherrill
c8ce082564 2009-08-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac, sp62/init.c, sp64/init.c: Add new test and
	adjust existing for alignment. New test ensures coverage begin and
	end marker methods are exercised so they do not get considered
	unexecuted.
	* spcoverage/.cvsignore, spcoverage/Makefile.am, spcoverage/init.c,
	spcoverage/spcoverage.doc, spcoverage/spcoverage.scn: New files.
2009-08-11 17:53:09 +00:00
Joel Sherrill
7c11edfd82 2009-08-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to exercise legacy
	rtems_clock_get().
	* spclockget/.cvsignore, spclockget/Makefile.am, spclockget/init.c,
	spclockget/spclockget.doc, spclockget/spclockget.scn: New files.
2009-08-10 17:04:50 +00:00
Joel Sherrill
f6ef96c273 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/system.h, ticker/system.h, ticker/ticker.scn: Convert calls to
	legacy routine rtems_clock_get( RTEMS_CLOCK_GET_xxx, ..) to
	rtems_clock_get_xxx().
2009-08-10 16:05:17 +00:00
Joel Sherrill
de90869d97 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxsignal01/init.c: Convert calls to legacy routine rtems_clock_get(
	RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
2009-08-10 16:05:02 +00:00
Joel Sherrill
1875546d63 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpuuse/task1.c, termios/init.c: Convert calls to legacy routine
	rtems_clock_get( RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
2009-08-10 16:04:57 +00:00
Joel Sherrill
05b9f81761 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp04/task1.c, sp09/screen02.c, sp09/screen04.c, sp09/sp09.scn,
	sp38/init.c: Convert calls to legacy routine rtems_clock_get(
	RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
2009-08-10 16:04:41 +00:00
Joel Sherrill
fa342bc701 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* ticker/tasks.c: Convert calls to legacy routine rtems_clock_get(
	RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..).
2009-08-10 14:54:31 +00:00
Joel Sherrill
573f8d4595 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* mp01/task1.c, mp01/node1/mp01-node1.scn, mp01/node2/mp01-node2.scn:
	Convert calls to legacy routine rtems_clock_get( RTEMS_CLOCK_GET_TOD,
	..) to rtems_clock_get_tod(..).
2009-08-10 14:50:29 +00:00
Joel Sherrill
cd49fdcdcb 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpuuse/task1.c, cpuuse/tswitch.c, malloctest/task1.c,
	stackchk/task1.c: Convert calls to legacy routine rtems_clock_get(
	RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..).
2009-08-10 14:50:24 +00:00
Joel Sherrill
1654d02d6f 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* itrontask01/task1.c: Convert calls to legacy routine rtems_clock_get(
	RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..).
2009-08-10 14:50:11 +00:00
Joel Sherrill
78076a2ce4 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxstat/test.c, psxtime/test.c: Convert calls to legacy routine
	rtems_clock_get( RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..).
2009-08-10 14:50:02 +00:00
Joel Sherrill
ec5c898b41 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* tm08/task1.c: Convert calls to legacy routine rtems_clock_get(
	RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..).
2009-08-10 14:49:56 +00:00
Joel Sherrill
bcf16c034d 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp01/sp01.scn, sp01/task1.c, sp03/task1.c, sp03/task2.c,
	sp04/task1.c, sp04/tswitch.c, sp09/screen02.c, sp09/screen13.c,
	sp09/screen14.c, sp09/sp09.scn, sp11/sp11.scn, sp11/task1.c,
	sp11/task2.c, sp19/fptask.c, sp19/sp19.scn, sp19/task1.c,
	sp22/prtime.c, sp22/sp22.scn, sp22/task1.c, sp24/sp24.scn,
	sp24/task1.c, sp30/task1.c, sp31/prtime.c, sp31/sp31.scn,
	sp31/task1.c, spwatchdog/prtime.c, spwatchdog/spwatchdog.scn,
	spwatchdog/task1.c: Convert calls to legacy routine rtems_clock_get(
	RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..).
2009-08-10 14:49:51 +00:00
Joel Sherrill
efc6c73345 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/system.h: Switch to unified work area.
2009-08-10 13:33:17 +00:00
Joel Sherrill
384f0225e8 2009-08-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Adjust allocation in test so it passes now that
	heap overhead constant has been increased.
2009-08-09 17:31:48 +00:00
Joel Sherrill
ab808e236f 2009-08-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp28/init.c, sp28/sp28.scn: Update screen. Add a few missing error
	cases.
2009-08-07 14:04:55 +00:00
Joel Sherrill
c05f201080 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test case for user providing their own
	stack to a POSIX thread.
	* psxstack01/.cvsignore, psxstack01/Makefile.am, psxstack01/init.c,
	psxstack01/psxstack01.doc, psxstack01/psxstack01.scn: New files.
2009-08-07 00:42:47 +00:00
Joel Sherrill
248db2171f 2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* bspcmdline01/init.c: Do not violate visibility.
2009-08-07 00:31:05 +00:00
Joel Sherrill
fba809c87b 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp64/init.c, sp64/sp64.scn: Chris ensured that nothing is moved until
	all memory is successfully allocated. This means the test can
	validate the heap is unchanged on extend failure.
2009-08-06 20:35:41 +00:00
Joel Sherrill
288f8498b7 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* support/src/test_support.c: Tinker with longest valid name.
2009-08-06 19:25:17 +00:00
Joel Sherrill
c005d41297 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxmsgq04/init.c, psxmsgq04/psxmsgq04.scn: Tinker with test to ensure
	that it hits both failing to allocate memory for the message queue
	name and message buffers.
2009-08-06 19:24:38 +00:00
Joel Sherrill
0d214a7c29 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxintrcritical01/init.c: Lower microseconds per tick so tests run
	quicker and more reliably hit the intended critical section.
2009-08-06 19:24:12 +00:00
Joel Sherrill
ee8512aae4 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical01/init.c, spintrcritical06/init.c,
	spintrcritical08/init.c, spintrcritical13/init.c: Lower microseconds
	per tick so tests run quicker and more reliably hit the intended
	critical section.
2009-08-06 19:23:38 +00:00
Joel Sherrill
cba16514b6 2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/include/buffer_test_io.h: Use printk on AVR by default.
2009-08-06 15:39:09 +00:00
Joel Sherrill
cac975ed5e 2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* bspcmdline01/bspcmdline01.scn, bspcmdline01/init.c: Add rtems_ as
	prefix to all routines.
2009-08-06 15:21:25 +00:00
Joel Sherrill
abc4af35f8 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac, sp63/init.c: Add new test for exercising
	when we are unable to allocate the memory needed for an object
	extend. Make sure all is handled properly.
	* sp64/.cvsignore, sp64/Makefile.am, sp64/init.c, sp64/sp64.doc,
	sp64/sp64.scn: New files.
2009-08-05 20:58:17 +00:00
Joel Sherrill
7c86172aba 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add test for new BSP Boot Command Line
	helper routines.
	* bspcmdline01/.cvsignore, bspcmdline01/Makefile.am,
	bspcmdline01/bspcmdline01.doc, bspcmdline01/bspcmdline01.scn,
	bspcmdline01/init.c, bspcmdline01/test.c: New files.
2009-08-05 19:36:57 +00:00
Joel Sherrill
b053cab093 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add a test to exercise an odd case in
	_POSIX_signals_Clear_signals.
	* psxsignal05/.cvsignore, psxsignal05/Makefile.am, psxsignal05/init.c,
	psxsignal05/psxsignal05.doc, psxsignal05/psxsignal05.scn: New files.
2009-08-05 18:13:29 +00:00
Joel Sherrill
7d89924051 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxmsgq04/init.c: Correct typo in configuration so test does as
	intended.
2009-08-05 16:43:54 +00:00
Joel Sherrill
236839e208 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxmsgq04/init.c, psxmsgq04/psxmsgq04.doc, psxmsgq04/psxmsgq04.scn:
	Update to handle ENFILE case now that POSIX message queues and
	message queue file descriptors are configured separately and this
	error is possible.
2009-08-05 16:33:36 +00:00
Joel Sherrill
6605d4dc99 2009-08-05 Santosh G Vattam <vattam.santosh@gmail.com>
* Makefile.am, psxmsgq04/init.c, psxmsgq04/psxmsgq04.doc,
	psxmsgq04/psxmsgq04.scn: Exercise running out of memory while
	allocating the message buffers for a POSIX message queue.
2009-08-05 15:21:43 +00:00
Joel Sherrill
307b6b9cc4 2009-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxsignal03/init.c, psxsignal03/psxsignal03.scn,
	psxsignal04/psxsignal04.scn: Correct test numbers in macros so output
	is right. Update both screens.
2009-08-02 15:00:05 +00:00
Joel Sherrill
70a66ca5d3 2009-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, psxsignal03/Makefile.am,
	psxsignal03/init.c, psxsignal03/psxsignal03.doc: Add new test
	variation which focused on real-time signals rather than user
	signals.
	* psxsignal04/.cvsignore, psxsignal04/Makefile.am,
	psxsignal04/psxsignal04.doc, psxsignal04/psxsignal04.scn: New files.
2009-08-02 14:41:46 +00:00
Joel Sherrill
c9c05a02e5 2009-08-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx07/init.c, psx07/psx07.scn, psx07/task.c: Add test for budget and
	replenish period of zero.
2009-08-01 21:47:09 +00:00
Joel Sherrill
e89cf10620 2009-08-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp63/init.c: Correct test case two.
2009-08-01 15:34:53 +00:00
Joel Sherrill
fa4c10cbd9 2009-08-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp63/init.c, sp63/sp63.scn: Move into subroutines and add a second
	test case to exercise another odd branch not taken.
2009-08-01 14:40:37 +00:00
Joel Sherrill
ba23ff5e36 2009-07-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, sp62/init.c: Add new test to ensure a
	particular path is taken through the _Heap_Resize_block code.
	* sp63/.cvsignore, sp63/Makefile.am, sp63/init.c, sp63/sp63.doc,
	sp63/sp63.scn: New files.
2009-08-01 00:25:20 +00:00
Joel Sherrill
64bad68bc8 2009-07-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to account for properly
	handling keys when a thread has non-NULL key value and key has NULL
	destructor and when a thread has NULL key value and key has
	destructor.
	* psxkey03/.cvsignore, psxkey03/Makefile.am, psxkey03/init.c,
	psxkey03/psxkey03.doc, psxkey03/psxkey03.scn: New files.
2009-07-30 20:21:41 +00:00
Joel Sherrill
3e5a9e5176 2009-07-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test for exercising running out of
	memory while allocating the key pointers.
	* psxkey02/.cvsignore, psxkey02/Makefile.am, psxkey02/init.c,
	psxkey02/psxkey02.doc, psxkey02/psxkey02.scn: New files.
2009-07-30 18:48:56 +00:00
Joel Sherrill
7e260d67ad 2009-07-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp42/Makefile.am, sp42/init.c, sp42/sp42.scn: Test was testing the
	wrong thing in a cpp macro. Added contents to screen file and add
	documentation file.
	* sp42/sp42.doc: New file.
2009-07-30 17:10:04 +00:00
Joel Sherrill
b1b6beb0e3 2009-07-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical16/spintrcritical16.doc: Remove junk and typos.
2009-07-30 14:52:40 +00:00
Joel Sherrill
095105ad20 2009-07-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical16/init.c: Tinker with test to make it hit the case
	more reliably.
2009-07-30 14:52:15 +00:00
Joel Sherrill
8b40e27c0c 2009-07-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add new test to exercise as many cases as
	possible of not being able to allocate memory from the workspace
	during thread creation.
	* sp18/.cvsignore, sp18/Makefile.am, sp18/init.c, sp18/sp18.doc,
	sp18/sp18.scn: New files.
2009-07-30 00:15:59 +00:00
Joel Sherrill
0376d08fa7 2009-07-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxmsgq04/init.c: Add call to mq_unlink.
2009-07-29 20:27:27 +00:00
Joel Sherrill
330e858cc2 2009-07-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add shell of new test.
	* psxmsgq04/.cvsignore, psxmsgq04/Makefile.am, psxmsgq04/init.c,
	psxmsgq04/psxmsgq04.doc, psxmsgq04/psxmsgq04.scn: New files.
2009-07-29 20:15:33 +00:00
Joel Sherrill
2ad8f85825 2009-07-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test to address cases where a thread
	is waiting on a signal (sigwait) and we send it. Also address case
	where there are too many queued signals.
	* psxsignal03/.cvsignore, psxsignal03/Makefile.am, psxsignal03/init.c,
	psxsignal03/psxsignal03.doc, psxsignal03/psxsignal03.scn: New files.
2009-07-29 18:31:20 +00:00
Joel Sherrill
a2b8140290 2009-07-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxsignal02/init.c: Fix spacing.
2009-07-29 18:30:45 +00:00
Joel Sherrill
d2861a11a0 2009-07-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to handle the case where
	a region resize frees enough memory to unblock a task.
	* sp62/.cvsignore, sp62/Makefile.am, sp62/init.c, sp62/sp62.doc,
	sp62/sp62.scn: New files.
	* sp61/init.c: Test does not need regions.
2009-07-28 23:49:47 +00:00
Joel Sherrill
5353469af4 2009-07-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test case for processing a timeout
	on a thread (that is the thread executing) that has also had its
	request satisfied while it is being enqueued.
	* spintrcritical16/.cvsignore, spintrcritical16/Makefile.am,
	spintrcritical16/init.c, spintrcritical16/spintrcritical16.doc,
	spintrcritical16/spintrcritical16.scn: New files.
	* spintrcritical15/init.c: Remove unused TSR>
2009-07-28 19:23:49 +00:00