Commit Graph

96 Commits

Author SHA1 Message Date
Sebastian Huber
e9f7e13b18 2010-08-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* sp09/screen12.c: Update for rtems_region_create() changes.
	* sp09/sp09.scn: Update.
2010-08-09 08:46:56 +00:00
Joel Sherrill
d7b34ee4df 2010-06-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen01.c: Fix warning.
2010-06-21 22:47:59 +00:00
Joel Sherrill
b553392a16 2010-06-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen01.c, sp09/sp09.scn, sp43/init.c, sp43/sp43.scn,
	spfatal_support/init.c: Remove references to ITRON constants.
2010-06-19 20:55:03 +00:00
Sebastian Huber
e66b4e9694 2010-06-07 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* sp09/screen12.c: Update for heap extend changes.
2010-06-07 09:33:16 +00:00
Ralf Corsepius
b1274bd94c Whitespace removal. 2009-11-30 03:33:25 +00:00
Ralf Corsepius
b1c8964896 Segment sizes are uintptr_t's. 2009-10-27 11:32:04 +00:00
Ralf Corsepius
cce4d0da50 Use size_t for "size". 2009-10-27 11:29:03 +00:00
Ralf Corsepius
acf5212020 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp09/screen13.c: Revert previous change.
	Remove broken extraneous line seemingly having crept into in
	2009-08-10 patch.
2009-10-27 07:51:51 +00:00
Ralf Corsepius
9197aefcbe Comment out unused return status. 2009-10-27 04:04:39 +00:00
Ralf Corsepius
e8dc3d32c4 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp09/screen09.c: Eliminate unused var warning.
2009-10-26 08:07:50 +00:00
Joel Sherrill
d05ec0f773 2009-10-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp07/init.c, sp07/sp07.scn, sp09/init.c, sp09/screen01.c,
	sp09/sp09.scn, sp28/init.c, sp62/init.c, sp62/sp62.scn, sp64/init.c,
	sp64/sp64.scn: Add more test cases highlighted on SPARC at -O2, x86
	at -Os and m68k at -Os. Fix typos.
2009-10-04 22:02:18 +00:00
Joel Sherrill
f55f60591c 2009-09-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp09/screen01.c, sp09/screen02.c, sp09/screen03.c, sp09/screen05.c,
	sp09/screen09.c, sp09/screen14.c, sp09/sp09.scn, sp28/init.c,
	sp28/sp28.scn, sp43/init.c: Add more error cases uncovered by uC5282
	coverage runs.
2009-09-28 23:07:56 +00:00
Joel Sherrill
8d8c1f1318 2009-09-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp09/screen02.c, sp09/screen04.c, sp09/screen07.c, sp09/screen09.c,
	sp09/screen10.c, sp09/screen11.c, sp09/screen12.c, sp09/sp09.scn: Add
	some error cases uncovered by uC5282 coverage runs.
2009-09-28 19:39:06 +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
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
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
f3ea48abbc *** empty log message *** 2009-07-20 01:02:17 +00:00
Joel Sherrill
6afc8dde54 2009-07-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp09/screen01.c, sp09/sp09.scn: Add test for
	rtems_object_get_classic_name with invalid id.
2009-07-07 19:39:12 +00:00
Joel Sherrill
d4b75d2043 2009-05-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen11.c, sp09/sp09.scn: Add case where buffer size is not
	large enough for buffer node overhead.
2009-05-14 16:01:01 +00:00
Joel Sherrill
9149e76784 2009-05-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen12.c, sp25/task1.c: Remove warnigns for wrong types.
2009-05-04 20:34:24 +00:00
Ralf Corsepius
3d5483771c Eliminate _exe_/.exe. 2009-04-03 12:55:13 +00:00
Joel Sherrill
8c324aa647 2009-03-02 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1388/cpukit
	* sp09/screen05.c, sp09/screen09.c, sp09/sp09.scn: Classic Semaphores
	allow both priority inherit and ceiling attributes to be set on
	semaphore create. These attributes are mutually exclusive and this
	should be an error.
2009-03-02 16:12:49 +00:00
Joel Sherrill
fa8ad9c2c3 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen05.c, sp09/screen07.c, sp09/screen10.c, sp09/screen11.c,
	sp09/screen12.c, sp09/screen14.c: Use rtems_build_id rather than
	hard-coded hex numbers for bad object Ids.
2009-01-05 19:45:49 +00:00
Joel Sherrill
29ff6c9ccb 2008-10-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen07.c: Use INT_MAX as number of messages so always
	properly sized and no overflow on constant.
	* sp09/screen10.c: Delay so on targets with simulator idle clock
	tick driver this will work.
	* sp09/screen11.c, sp09/system.h: Move badly aligned objects to odd
	byte boundaries rather than two byte boundaries.
	* sp09/screen03.c, sp09/screen14.c: Skip tests which try to
	allocate more memory than size_t holds on m32c.
2008-10-14 13:03:38 +00:00
Joel Sherrill
82478ffc7d 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen01.c, sp09/screen12.c, sp25/system.h, sp25/task1.c,
	sp28/init.c, sp39/init.c, sp41/init.c, spfatal01/testcase.h,
	spfatal08/testcase.h: Change size_t to ssize_t on all Heap, Workspace
	and Region calls. On 16-bit architectures, size_t can be 16-bits
	which would limit sizes to 64K. Also address constants which
	overflowed on 16-bit integer targets.
2008-10-02 20:57:28 +00:00
Joel Sherrill
ffb9eeb5ce 2008-07-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen09.c: Do not use Simple Vectored Interrupt calls on
	architectures they are not supported on.
2008-07-17 21:22:29 +00:00
Joel Sherrill
5afa393ed5 2008-02-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen01.c: Correct test.
	* sp09/screen14.c: Update copyright.
	* sp28/init.c: Correct end of test messages.
2008-02-22 19:35:14 +00:00
Joel Sherrill
2186ba8064 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp01/init.c, sp02/init.c, sp03/init.c, sp04/init.c, sp05/init.c,
	sp06/init.c, sp07/init.c, sp08/init.c, sp09/init.c, sp11/init.c,
	sp12/init.c, sp13/init.c, sp14/init.c, sp15/init.c, sp16/init.c,
	sp17/init.c, sp19/init.c, sp20/init.c, sp21/init.c, sp22/init.c,
	sp23/init.c, sp24/init.c, sp25/init.c, sp26/init.c, sp28/init.c,
	sp30/init.c, sp31/init.c, sp32/init.c, sp33/init.c, sp37/init.c,
	sp38/init.c, sp39/init.c, sp40/init.c, sp41/init.c, sp43/init.c,
	spfatal/init.c, spfatal_support/init.c, spsize/init.c: Change
	TEST_INIT to CONFIGURE_INIT. Make tmacros.h available to all POSIX
	tests. Add a clock_settime case for < 1988.
2008-02-01 00:45:11 +00:00
Joel Sherrill
403c5077be 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp09/screen01.c, sp09/sp09.scn: Add more bad thread Id cases.
	* sp40/init.c, sp40/sp40.scn: Add message to say test is TBD.
	* sp41/sp41.scn: Now has content.
	* sp43/init.c, sp43/sp43.scn: Enhanced to increase coverage of
	Object Services recently added to API.
2008-01-31 16:08:52 +00:00
Joel Sherrill
14a64dc59e 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen07.c, sp09/screen12.c, sp09/screen14.c, sp09/sp09.scn
	Add test cases for:
	  + message queue create requesting too many message buffers
	    for the available memory
	  + region extend with address inside existing heap
	  + timer server initiate too large a stack, create error
	* sp12/pritask.c, sp12/sp12.scn: Add test cases for:
	  + task set priority while holding resource
2008-01-07 15:26:46 +00:00
Joel Sherrill
6bc19a148a 2007-12-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp09/screen07.c, sp09/sp09.scn: Add test for
	rtems_message_queue_broadcast for bad buffer and count pointers.
	* sp30/init.c, sp30/sp30.scn: Add test for initiating timer server
	with bad priority or initiating twice.
	* sp37/sp37.scn, sp37/system.h: Add test for rtems_clock_tick when
	it forces a dispatch.
	* sp37/init.c: New file.
2007-12-14 17:44:15 +00:00
Joel Sherrill
9c691efcf4 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp07/init.c, sp07/sp07.scn, sp07/task1.c: Add tests for
	using notepad with the current task's ID or SELF
	* sp09/screen02.c, sp09/screen04.c, sp09/sp09.scn: Add
	test missing test cases for clock_get.
2007-12-13 21:45:23 +00:00
Joel Sherrill
eb5d942ad5 2007-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen03.c, spsize/size.c: Builds again after CPU Table changes.
2007-12-04 16:03:06 +00:00
Glenn Humphrey
4650a44c07 2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* sp07/sp07.scn, sp07/task1.c, sp09/screen01.c, sp09/screen05.c,
	sp09/screen07.c, sp09/screen10.c, sp09/screen12.c, sp09/screen14.c,
	sp09/sp09.scn, sp25/sp25.scn, sp25/task1.c: Added several test cases
	to improve test coverage.
2007-11-27 20:44:55 +00:00
Glenn Humphrey
6a5990e4fd 2007-10-18 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* sp09/screen06.c, sp09/screen14.c, sp13/sp13.scn, sp13/task1.c,
	sp16/sp16.scn: Corrected some minor mistakes and regenerated some
	.scn files.
2007-10-18 19:49:46 +00:00
Glenn Humphrey
67e024bc44 2007-10-10 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* sp09/init.c, sp09/sp09.scn: Removed an obsolete test that was
	commented out and updated the .scn file.
2007-10-10 21:01:45 +00:00
Joel Sherrill
e58077cb55 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp01/Makefile.am, sp02/Makefile.am, sp03/Makefile.am,
	sp04/Makefile.am, sp05/Makefile.am, sp06/Makefile.am,
	sp07/Makefile.am, sp07/tdelete.c, sp08/Makefile.am, sp09/Makefile.am,
	sp11/Makefile.am, sp12/Makefile.am, sp13/Makefile.am,
	sp14/Makefile.am, sp15/Makefile.am, sp16/Makefile.am,
	sp17/Makefile.am, sp19/Makefile.am, sp20/Makefile.am,
	sp21/Makefile.am, sp22/Makefile.am, sp23/Makefile.am,
	sp24/Makefile.am, sp25/Makefile.am, sp26/Makefile.am,
	sp32/Makefile.am, sp33/Makefile.am, sp34/Makefile.am,
	sp35/Makefile.am, spfatal/Makefile.am, spsize/Makefile.am,
	spsize/size.c: Add optional managers to Makefiles. Clean up test
	cases so last output line follows END OF pattern. Make sure test case
	all run. All tests appeared ok on sis.
2007-05-11 19:44:27 +00:00
Joel Sherrill
d6913f245e 2007-02-06 Joel Sherrill <joel@OARcorp.com>
* sp09/screen07.c, sp09/task3.c, sp13/task1.c, sp13/task2.c,
	sp13/task3.c: Address size_t/uint32_t typing issues in message queue
	tests.
2007-02-06 19:14:35 +00:00
Joel Sherrill
6be472c869 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* sp09/screen12.c, sp16/task2.c, sp16/task3.c: Ensure tests generate
	cases intended on all targets possible with new heap algorithm.
2006-11-17 23:03:25 +00:00
Ralf Corsepius
9c5ea1114a Eliminate scndir, docdir. Use rtems_testsdir instead. 2006-07-11 05:09:12 +00:00
Ralf Corsepius
b244a05ac3 Convert to use *_PROGRAMS. 2005-11-13 06:29:38 +00:00
Ralf Corsepius
3bb5d94490 Rework. 2005-11-11 14:33:33 +00:00
Ralf Corsepius
7e3887773a Eliminate TEST. 2005-11-11 09:03:24 +00:00
Ralf Corsepius
7c1e3f4ca2 Expand sptests.am. 2005-11-11 08:18:16 +00:00
Ralf Corsepius
cb2818800d Eliminate DOCTYPES. 2005-11-10 22:21:20 +00:00
Ralf Corsepius
d65005e414 AM_CPPFLAGS += -I..../support/include. 2005-11-09 12:44:35 +00:00
Ralf Corsepius
39767d0c6b Remove SRC, PRINT_SRC. 2005-11-07 09:43:59 +00:00
Ralf Corsepius
d66557fac4 Switch back to include compile.am instead of amcompile.am 2005-11-07 09:09:26 +00:00
Ralf Corsepius
cdfd71036f Partial conversion to automake. 2005-11-07 08:03:28 +00:00
Ralf Corsepius
1b4f2b305c Remove stray white spaces. 2004-04-16 09:24:30 +00:00