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.
* 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.
* 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.
* 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.
* 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.
* 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
* 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.
* 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.
* 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.
* 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.
* sp02/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp03/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp04/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp05/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp06/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp07/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp08/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp09/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp11/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp12/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp13/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp14/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp15/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp16/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp17/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp19/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp20/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp21/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp22/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp23/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp24/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp25/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp26/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp27/init.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp28/init.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp29/init.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp30/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp31/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp32/init.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
* spfatal/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* spsize/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
PR 544/tests
* sp07/Makefile.am, sp07/init.c, sp07/system.h, sp07/task4.c,
sp07/tcreate.c, sp07/tdelete.c, sp07/trestart.c, sp07/tstart.c,
sp09/system.h, sp19/system.h, sp20/system.h: Various modifications to
make tests account for resources and not print at inappropriate
times.
* sp07/buffered_io.c: New file.
Makefile.am: Reflect having moved automake.
sp01/Makefile.am: Reflect having moved automake.
sp02/Makefile.am: Reflect having moved automake.
sp03/Makefile.am: Reflect having moved automake.
sp04/Makefile.am: Reflect having moved automake.
sp05/Makefile.am: Reflect having moved automake.
sp06/Makefile.am: Reflect having moved automake.
sp07/Makefile.am: Reflect having moved automake.
sp08/Makefile.am: Reflect having moved automake.
sp09/Makefile.am: Reflect having moved automake.
sp11/Makefile.am: Reflect having moved automake.
sp12/Makefile.am: Reflect having moved automake.
sp13/Makefile.am: Reflect having moved automake.
sp14/Makefile.am: Reflect having moved automake.
sp15/Makefile.am: Reflect having moved automake.
sp16/Makefile.am: Reflect having moved automake.
sp17/Makefile.am: Reflect having moved automake.
sp19/Makefile.am: Reflect having moved automake.
sp20/Makefile.am: Reflect having moved automake.
sp21/Makefile.am: Reflect having moved automake.
sp22/Makefile.am: Reflect having moved automake.
sp23/Makefile.am: Reflect having moved automake.
sp24/Makefile.am: Reflect having moved automake.
sp25/Makefile.am: Reflect having moved automake.
sp26/Makefile.am: Reflect having moved automake.
sp27/Makefile.am: Reflect having moved automake.
sp28/Makefile.am: Reflect having moved automake.
sp29/Makefile.am: Reflect having moved automake.
sp30/Makefile.am: Reflect having moved automake.
sp31/Makefile.am: Reflect having moved automake.
sp32/Makefile.am: Reflect having moved automake.
spfatal/Makefile.am: Reflect having moved automake.
spsize/Makefile.am: Reflect having moved automake.
* sp01/Makefile.am: Use $(OBJEXT) instead of .o.
* sp02/Makefile.am: Use $(OBJEXT) instead of .o.
* sp03/Makefile.am: Use $(OBJEXT) instead of .o.
* sp04/Makefile.am: Use $(OBJEXT) instead of .o.
* sp05/Makefile.am: Use $(OBJEXT) instead of .o.
* sp06/Makefile.am: Use $(OBJEXT) instead of .o.
* sp07/Makefile.am: Use $(OBJEXT) instead of .o.
* sp08/Makefile.am: Use $(OBJEXT) instead of .o.
* sp09/Makefile.am: Use $(OBJEXT) instead of .o.
* sp11/Makefile.am: Use $(OBJEXT) instead of .o.
* sp12/Makefile.am: Use $(OBJEXT) instead of .o.
* sp13/Makefile.am: Use $(OBJEXT) instead of .o.
* sp14/Makefile.am: Use $(OBJEXT) instead of .o.
* sp15/Makefile.am: Use $(OBJEXT) instead of .o.
* sp16/Makefile.am: Use $(OBJEXT) instead of .o.
* sp17/Makefile.am: Use $(OBJEXT) instead of .o.
* sp19/Makefile.am: Use $(OBJEXT) instead of .o.
* sp20/Makefile.am: Use $(OBJEXT) instead of .o.
* sp21/Makefile.am: Use $(OBJEXT) instead of .o.
* sp22/Makefile.am: Use $(OBJEXT) instead of .o.
* sp23/Makefile.am: Use $(OBJEXT) instead of .o.
* sp24/Makefile.am: Use $(OBJEXT) instead of .o.
* sp25/Makefile.am: Use $(OBJEXT) instead of .o.
* sp26/Makefile.am: Use $(OBJEXT) instead of .o.
* sp27/Makefile.am: Use $(OBJEXT) instead of .o.
* sp28/Makefile.am: Use $(OBJEXT) instead of .o.
* sp29/Makefile.am: Use $(OBJEXT) instead of .o.
* sp30/Makefile.am: Use $(OBJEXT) instead of .o.
* sp31/Makefile.am: Use $(OBJEXT) instead of .o.
* spfatal/Makefile.am: Use $(OBJEXT) instead of .o.
* spsize/Makefile.am: Use $(OBJEXT) instead of .o.
* Per PR47 add support for buffered test output. This involved
adding defines to redirect output to a buffer and dump it when
full, at "test pause", and at exit. To avoid problems when redefining
exit(), all tests were modified to call rtems_test_exit().
Some tests, notable psxtests, had to be modified to include
the standard test macro .h file (pmacros.h or tmacros.h) to
enable this support.
* sp01/task1.c, sp02/task1.c, sp03/task2.c, sp04/task1.c, sp05/task1.c,
sp06/task1.c, sp07/taskexit.c, sp08/task1.c, sp09/task1.c,
sp11/task1.c, sp12/pritask.c, sp12/task5.c, sp13/task1.c,
sp14/task2.c, sp15/task1.c, sp16/task1.c, sp17/task1.c,
sp19/fptask.c, sp20/task1.c, sp21/task1.c, sp22/task1.c,
sp23/task1.c, sp24/task1.c, sp25/task1.c, sp26/init.c, sp26/task1.c,
sp30/task1.c, sp31/task1.c, spsize/init.c, spsize/size.c: Modified.
* Added tests for task-based timers. This included the new tests
sp30 and sp31.
* Makefile.am, configure.ac: Modified to reflect new tests and files.
* sp09/screen14.c, sp09/sp09.scn: Modified to add error checks
for task-based timer services.
* sp30/.cvsignore, sp30/Makefile.am, sp30/init.c, sp30/resume.c,
sp30/sp30.doc, sp30/sp30.scn, sp30/system.h, sp30/task1.c,
sp31/.cvsignore, sp31/Makefile.am, sp31/delay.c, sp31/init.c,
sp31/prtime.c, sp31/sp31.doc, sp31/sp31.scn, sp31/system.h,
sp31/task1.c: New files.
* sp20/Makefile.am: include leaf.am instead of leaf.cfg.
* sp02/Makefile.am: include leaf.am instead of leaf.cfg.
* sp19/Makefile.am: include leaf.am instead of leaf.cfg.
* sp11/Makefile.am: include leaf.am instead of leaf.cfg.
* sp25/Makefile.am: include leaf.am instead of leaf.cfg.
* sp04/Makefile.am: include leaf.am instead of leaf.cfg.
* spsize/Makefile.am: include leaf.am instead of leaf.cfg.
* sp01/Makefile.am: include leaf.am instead of leaf.cfg.
* sp16/Makefile.am: include leaf.am instead of leaf.cfg.
* sp05/Makefile.am: include leaf.am instead of leaf.cfg.
* sp09/Makefile.am: include leaf.am instead of leaf.cfg.
* spfatal/Makefile.am: include leaf.am instead of leaf.cfg.
* sp06/Makefile.am: include leaf.am instead of leaf.cfg.
* sp23/Makefile.am: include leaf.am instead of leaf.cfg.
* sp28/Makefile.am: include leaf.am instead of leaf.cfg.
* sp03/Makefile.am: include leaf.am instead of leaf.cfg.
* sp29/Makefile.am: include leaf.am instead of leaf.cfg.
* sp13/Makefile.am: include leaf.am instead of leaf.cfg.
* sp27/Makefile.am: include leaf.am instead of leaf.cfg.
* sp14/Makefile.am: include leaf.am instead of leaf.cfg.
* sp07/Makefile.am: include leaf.am instead of leaf.cfg.
* sp15/Makefile.am: include leaf.am instead of leaf.cfg.
* sp17/Makefile.am: include leaf.am instead of leaf.cfg.
* sp22/Makefile.am: include leaf.am instead of leaf.cfg.
* sp12/Makefile.am: include leaf.am instead of leaf.cfg.
* sp26/Makefile.am: include leaf.am instead of leaf.cfg.
* sp21/Makefile.am: include leaf.am instead of leaf.cfg.
* sp24/Makefile.am: include leaf.am instead of leaf.cfg.
* sp08/Makefile.am: include leaf.am instead of leaf.cfg.