Commit Graph

1552 Commits

Author SHA1 Message Date
Joel Sherrill
7173c43715 2009-08-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* hello/Makefile.am, hello/init.c: Simplify.
	* hello/system.h: Removed.
2009-08-26 13:22:58 +00:00
Joel Sherrill
c1ac715a4a 2009-08-26 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* spstkalloc/init.c: Changed allocator signature. Functions are now
	static.
2009-08-26 12:16:36 +00:00
Joel Sherrill
8de136b6c5 2009-08-19 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* heapwalk/init.c, stackchk/blow.c: Update for heap API changes.
2009-08-26 12:01:21 +00:00
Joel Sherrill
39385ed563 2009-08-25 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* sp29/init.c: Fixed return value evaluation.
	* sp59/init.c: Added status code assignment. Fixed typos.
	* sp59/init.c, sp59/sp59.scn: Added status code assignment. Fixed typos.
 	* sp63/init.c: Check return value of _Heap_Initialize().
2009-08-26 02:16:03 +00:00
Joel Sherrill
bd039332dd 2009-08-25 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* sp59/init.c, sp59/sp59.scn: Added status code assignment. Fixed typos.
	* sp63/init.c: Check return value of _Heap_Initialize().
2009-08-26 02:13:38 +00:00
Joel Sherrill
c39d81bc5e 2009-08-21 Xi Yang <hiyangxi@gmail.com>
* unlimited/test2.c: Fix spacing.
2009-08-21 17:35:49 +00:00
Joel Sherrill
897aa5582a 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* spwatchdog/spwatchdog.scn, spwatchdog/task1.c: Add test for
	_Watchdog_Report() when name is not NULL. This case was covered at
	-Os on erc32 but at -O2 we had more code.
2009-08-19 21:42:36 +00:00
Joel Sherrill
c45ca10375 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* psx09/init.c, psx09/psx09.scn: Correct test following decision of
	when not to change ssporadic scheduler so it does not touch a task's
	priority when it is holding a mutex or its priority would be impacted
	adversely.
2009-08-19 17:28:19 +00:00
Joel Sherrill
9f49b43378 Give credit to Santosh. 2009-08-19 17:26:38 +00:00
Joel Sherrill
4e7ca87212 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxtime/main.c, psxtime/psxtime.scn, psxtime/test.c: Add test case
	for adjusting time (adjtime()) where the time is adjusted by enough
	microseconds that it crosses a second boundary.
2009-08-19 15:13:34 +00:00
Joel Sherrill
712726d3df 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* psx07/init.c, psx07/psx07.scn, psx07/system.h, psx07/task.c: Update
	test to reflect not allowing poriority changes when mutex is locked.
2009-08-19 14:55:24 +00:00
Joel Sherrill
3a12177645 2009-08-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp63/init.c, sp63/sp63.scn: Add case for math on size requested
	overflowing on _Heap_Allocate_aligned.
2009-08-18 18:46:21 +00:00
Joel Sherrill
7d414c33ae 2009-08-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* spobjgetnext/init.c, spobjgetnext/spobjgetnext.scn: Add error cases
	for various null parameters.
2009-08-18 15:32:49 +00:00
Joel Sherrill
84f27fa8fa 2009-08-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* psx01/init.c, psx01/psx01.scn: Add test case for nanosleep with NULL
	remaining pointer.
2009-08-18 14:39:33 +00:00
Joel Sherrill
804e5715fd 2009-08-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp16/sp16.scn, sp16/task1.c: Fix typo.
2009-08-18 14:15:50 +00:00
Joel Sherrill
4f79a900cb Revert configure.ac change. 2009-08-17 17:44:36 +00:00
Joel Sherrill
49325ef13c 2009-08-17 Santosh G Vattam <vattam.santosh@gmail.com>
* configure.ac, psx05/init.c, psx05/psx05.scn: Add test case for
	initializing a recursize mutex.
2009-08-17 17:43:35 +00:00
Joel Sherrill
58dbfd7c61 2009-08-17 Santosh G Vattam <vattam.santosh@gmail.com>
* sp65/init.c: Remove stray print.
	* sp65/sp65.doc: Add information on second case.
2009-08-17 17:42:21 +00:00
Joel Sherrill
e958d79b33 2009-08-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* termios01/init.c, termios01/termios01.scn: Add a few error paths to
	complete coverage of termios_XXX_to_YYY() methods.
2009-08-15 22:29:38 +00:00
Joel Sherrill
4d5b156c2c 2009-08-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add new test to exercise tcgetattr and
	tcsetattr. Does a variety of baud, parity, stop bits, and bits per
	character with the assistance of a special test driver which prints
	the requests.
	* termios01/.cvsignore, termios01/Makefile.am, termios01/init.c,
	termios01/termios01.doc, termios01/termios01.scn,
	termios01/termios_testdriver.c, termios01/termios_testdriver.h: New files.
2009-08-15 17:54:48 +00:00
Joel Sherrill
146301d36b 2009-08-13 Santosh G Vattam <vattam.santosh@gmail.com>
* sp65/init.c, sp65/sp65.doc, sp65/sp65.scn: Add new test case to
	verify that obtaining a priority ceiling mutex when the calling
	task's priority is the same as the priority ceiling is handled
	correctly.
2009-08-14 01:10:23 +00:00
Joel Sherrill
4e76c71cd0 2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/include/tmacros.h: Eliminate test routines TICKS_PER_SECOND
	and get_ticks_per_second() in favor of new
	rtems_clock_get_ticks_per_second().
2009-08-12 20:50:51 +00:00
Joel Sherrill
1f7ee0275b 2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp02/task1.c, sp02/task2.c, sp02/task3.c, sp03/task2.c, sp05/task1.c,
	sp05/task2.c, sp05/task3.c, sp06/task1.c, sp06/task2.c,
	sp09/screen02.c, sp09/screen04.c, sp09/screen06.c, sp09/screen07.c,
	sp09/screen10.c, sp09/screen12.c, sp09/screen13.c, sp09/screen14.c,
	sp11/task1.c, sp11/task2.c, sp12/pridrv.c, sp12/pritask.c,
	sp12/task1.c, sp13/task1.c, sp13/task2.c, sp14/task1.c, sp16/task1.c,
	sp16/task4.c, sp19/fptask.c, sp19/task1.c, sp22/task1.c,
	sp24/task1.c, sp26/task1.c, sp29/init.c, sp30/task1.c, sp31/task1.c,
	sp33/init.c, sp45/init.c, sp46/init.c, sp50/init.c,
	spintrcritical06/init.c, spwatchdog/task1.c: Eliminate test routines
	TICKS_PER_SECOND and get_ticks_per_second() in favor of new
	rtems_clock_get_ticks_per_second().
2009-08-12 20:50:43 +00:00
Joel Sherrill
99f0971146 2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* cdtest/main.cc, fileio/init.c, fileio/system.h, pppd/pppdapp.c,
	ticker/system.h, ticker/tasks.c: Eliminate test routines
	TICKS_PER_SECOND and get_ticks_per_second() in favor of new
	rtems_clock_get_ticks_per_second().
2009-08-12 20:50:38 +00:00
Joel Sherrill
c9460e17ed 2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxfile01/test.c, psxstat/test.c, psxtime/test.c: Eliminate test
	routines TICKS_PER_SECOND and get_ticks_per_second() in favor of new
	rtems_clock_get_ticks_per_second().
2009-08-12 20:50:35 +00:00
Joel Sherrill
9992cac496 2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* mp01/task1.c, mp02/task1.c, mp03/task1.c, mp05/task1.c, mp06/task1.c,
	mp07/task1.c, mp08/task1.c, mp09/recvmsg.c, mp09/sendmsg.c,
	mp09/task1.c, mp10/init.c, mp12/init.c, mp13/init.c, mp13/task1.c,
	mp13/task2.c, mp14/evtask1.c, mp14/init.c: Eliminate test routines
	TICKS_PER_SECOND and get_ticks_per_second() in favor of new
	rtems_clock_get_ticks_per_second().
2009-08-12 20:50:29 +00:00
Joel Sherrill
de7adafc8c 2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/task1.c, stackchk/task1.c: Eliminate test routines
	TICKS_PER_SECOND and get_ticks_per_second() in favor of new
	rtems_clock_get_ticks_per_second().
2009-08-12 20:50:26 +00:00
Joel Sherrill
6d1e9b8bf9 2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* itrontask01/task1.c, itrontask02/dormant.c, itrontask03/task1.c,
	itrontask03/task2.c, itrontask03/task3.c, itrontask04/task3.c:
	Eliminate test routines TICKS_PER_SECOND and get_ticks_per_second()
	in favor of new rtems_clock_get_ticks_per_second().
2009-08-12 20:50:24 +00:00
Joel Sherrill
160a0e0b97 2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp65/init.c: Add semi-colon to end of rtems_semaphore_create call.
	Change attributes to priority ceiling. Use directive_failed, not
	assert. Configure a semaphore not a region.
2009-08-12 13:11:21 +00:00
Joel Sherrill
79a0a6a9da 2009-08-12 Santosh G Vattam <vattam.santosh@gmail.com>
* ChangeLog, Makefile.am, configure.ac: Add new test for some core
	mutex cases.
	* sp65/.cvsignore, sp65/Makefile.am, sp65/init.c, sp65/sp65.doc,
	sp65/sp65.scn: New files.
2009-08-12 13:09:36 +00:00
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