diff options
33 files changed, 53 insertions, 33 deletions
diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog index 9e8aa013cc..5977d8d9f0 100644 --- a/testsuites/sptests/ChangeLog +++ b/testsuites/sptests/ChangeLog @@ -1,3 +1,19 @@ +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-04-05 Joel Sherrill <joel@OARcorp.com> * spsize/size.c: _TOD_Seconds_since_epoch eliminated as a variable. diff --git a/testsuites/sptests/sp01/Makefile.am b/testsuites/sptests/sp01/Makefile.am index ed65d93d14..cdbc08452a 100644 --- a/testsuites/sptests/sp01/Makefile.am +++ b/testsuites/sptests/sp01/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io +MANAGERS = io semaphore clock rtems_tests_PROGRAMS = sp01.exe sp01_exe_SOURCES = init.c task1.c system.h diff --git a/testsuites/sptests/sp02/Makefile.am b/testsuites/sptests/sp02/Makefile.am index 5adf71f630..42b050b066 100644 --- a/testsuites/sptests/sp02/Makefile.am +++ b/testsuites/sptests/sp02/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io +MANAGERS = io semaphore clock rtems_tests_PROGRAMS = sp02.exe sp02_exe_SOURCES = init.c task1.c task2.c task3.c preempt.c system.h diff --git a/testsuites/sptests/sp03/Makefile.am b/testsuites/sptests/sp03/Makefile.am index 2d5150c75f..bedf79ae99 100644 --- a/testsuites/sptests/sp03/Makefile.am +++ b/testsuites/sptests/sp03/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io +MANAGERS = io semaphore clock rtems_tests_PROGRAMS = sp03.exe sp03_exe_SOURCES = init.c task1.c task2.c system.h diff --git a/testsuites/sptests/sp04/Makefile.am b/testsuites/sptests/sp04/Makefile.am index a82d08fa52..1f6d8afb5a 100644 --- a/testsuites/sptests/sp04/Makefile.am +++ b/testsuites/sptests/sp04/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io +MANAGERS = io semaphore clock extension rtems_tests_PROGRAMS = sp04.exe sp04_exe_SOURCES = init.c task1.c task2.c task3.c tswitch.c system.h diff --git a/testsuites/sptests/sp05/Makefile.am b/testsuites/sptests/sp05/Makefile.am index 6d9f55b8c7..8e9854ca10 100644 --- a/testsuites/sptests/sp05/Makefile.am +++ b/testsuites/sptests/sp05/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io +MANAGERS = io semaphore clock rtems_tests_PROGRAMS = sp05.exe sp05_exe_SOURCES = init.c task1.c task2.c task3.c system.h diff --git a/testsuites/sptests/sp06/Makefile.am b/testsuites/sptests/sp06/Makefile.am index 4f3955300d..d7486463ff 100644 --- a/testsuites/sptests/sp06/Makefile.am +++ b/testsuites/sptests/sp06/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io +MANAGERS = io semaphore clock rtems_tests_PROGRAMS = sp06.exe sp06_exe_SOURCES = init.c task1.c task2.c task3.c system.h diff --git a/testsuites/sptests/sp07/Makefile.am b/testsuites/sptests/sp07/Makefile.am index 183d56fbc6..4322cfe925 100644 --- a/testsuites/sptests/sp07/Makefile.am +++ b/testsuites/sptests/sp07/Makefile.am @@ -2,11 +2,11 @@ ## $Id$ ## -MANAGERS = io +MANAGERS = io semaphore clock extension rtems_tests_PROGRAMS = sp07.exe -sp07_exe_SOURCES = init.c buffered_io.c task1.c task2.c task3.c task4.c taskexit.c \ - tcreate.c tdelete.c trestart.c tstart.c system.h +sp07_exe_SOURCES = init.c buffered_io.c task1.c task2.c task3.c task4.c \ + taskexit.c tcreate.c tdelete.c trestart.c tstart.c system.h dist_rtems_tests_DATA = sp07.scn dist_rtems_tests_DATA += sp07.doc diff --git a/testsuites/sptests/sp07/tdelete.c b/testsuites/sptests/sp07/tdelete.c index 983641b1ae..f70852d0bd 100644 --- a/testsuites/sptests/sp07/tdelete.c +++ b/testsuites/sptests/sp07/tdelete.c @@ -30,15 +30,13 @@ rtems_extension Task_delete_extension( if ( task_number( running_task->Object.id ) > 0 ) { name = Task_name[ task_number( running_task->Object.id ) ]; - sprintf( line, "TASK_DELETE - %c%c%c%c", + sprintf( line, "TASK_DELETE - %c%c%c%c TASK_DELETE", (name >> 24) & 0xff, (name >> 16) & 0xff, (name >> 8) & 0xff, name & 0xff ); buffered_io_add_string( line ); - puts_nocr( "TASK_DELETE - " ); - put_name( Task_name[ task_number( running_task->Object.id ) ], FALSE ); } if ( task_number( deleted_task->Object.id ) > 0 ) { name = Task_name[ task_number( deleted_task->Object.id ) ]; diff --git a/testsuites/sptests/sp08/Makefile.am b/testsuites/sptests/sp08/Makefile.am index dd47285747..14040d61cd 100644 --- a/testsuites/sptests/sp08/Makefile.am +++ b/testsuites/sptests/sp08/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io +MANAGERS = io semaphore clock rtems_tests_PROGRAMS = sp08.exe sp08_exe_SOURCES = init.c task1.c system.h diff --git a/testsuites/sptests/sp09/Makefile.am b/testsuites/sptests/sp09/Makefile.am index 0539730576..c85cabffe7 100644 --- a/testsuites/sptests/sp09/Makefile.am +++ b/testsuites/sptests/sp09/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io message dual_ported_memory event multi_processor region \ +MANAGERS = io clock message dual_ported_memory event multi_processor region \ semaphore signal rate_monotonic timer partition rtems_tests_PROGRAMS = sp09.exe diff --git a/testsuites/sptests/sp11/Makefile.am b/testsuites/sptests/sp11/Makefile.am index ead97a9b6c..f037fee20a 100644 --- a/testsuites/sptests/sp11/Makefile.am +++ b/testsuites/sptests/sp11/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io event timer +MANAGERS = io event timer clock semaphore rtems_tests_PROGRAMS = sp11.exe sp11_exe_SOURCES = init.c task1.c task2.c timer.c system.h diff --git a/testsuites/sptests/sp12/Makefile.am b/testsuites/sptests/sp12/Makefile.am index a2a45dc687..e3b7ab2325 100644 --- a/testsuites/sptests/sp12/Makefile.am +++ b/testsuites/sptests/sp12/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io semaphore +MANAGERS = io semaphore clock rtems_tests_PROGRAMS = sp12.exe sp12_exe_SOURCES = init.c task1.c task2.c task3.c task4.c task5.c pridrv.c \ diff --git a/testsuites/sptests/sp13/Makefile.am b/testsuites/sptests/sp13/Makefile.am index c034aab5e2..ebbe69e444 100644 --- a/testsuites/sptests/sp13/Makefile.am +++ b/testsuites/sptests/sp13/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io message +MANAGERS = io message semaphore clock rtems_tests_PROGRAMS = sp13.exe sp13_exe_SOURCES = init.c fillbuff.c putbuff.c task1.c task2.c task3.c system.h diff --git a/testsuites/sptests/sp14/Makefile.am b/testsuites/sptests/sp14/Makefile.am index 141242ad4f..620555c688 100644 --- a/testsuites/sptests/sp14/Makefile.am +++ b/testsuites/sptests/sp14/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io signal timer +MANAGERS = io signal timer semaphore clock rtems_tests_PROGRAMS = sp14.exe sp14_exe_SOURCES = init.c asr.c task1.c task2.c system.h diff --git a/testsuites/sptests/sp15/Makefile.am b/testsuites/sptests/sp15/Makefile.am index 1eadbc09ce..4456b6560c 100644 --- a/testsuites/sptests/sp15/Makefile.am +++ b/testsuites/sptests/sp15/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io partition +MANAGERS = io partition semaphore clock rtems_tests_PROGRAMS = sp15.exe sp15_exe_SOURCES = init.c task1.c system.h diff --git a/testsuites/sptests/sp16/Makefile.am b/testsuites/sptests/sp16/Makefile.am index a1a4556e96..79c88dabe9 100644 --- a/testsuites/sptests/sp16/Makefile.am +++ b/testsuites/sptests/sp16/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io region +MANAGERS = io region semaphore clock rtems_tests_PROGRAMS = sp16.exe sp16_exe_SOURCES = init.c task1.c task2.c task3.c task4.c task5.c system.h diff --git a/testsuites/sptests/sp17/Makefile.am b/testsuites/sptests/sp17/Makefile.am index 1064820e1e..51427d3430 100644 --- a/testsuites/sptests/sp17/Makefile.am +++ b/testsuites/sptests/sp17/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io signal +MANAGERS = io signal semaphore clock rtems_tests_PROGRAMS = sp17.exe sp17_exe_SOURCES = init.c asr.c task1.c task2.c system.h diff --git a/testsuites/sptests/sp19/Makefile.am b/testsuites/sptests/sp19/Makefile.am index 8ac0079b47..865a657912 100644 --- a/testsuites/sptests/sp19/Makefile.am +++ b/testsuites/sptests/sp19/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io +MANAGERS = io semaphore clock rtems_tests_PROGRAMS = sp19.exe sp19_exe_SOURCES = init.c first.c fptask.c task1.c system.h fptest.h inttest.h diff --git a/testsuites/sptests/sp20/Makefile.am b/testsuites/sptests/sp20/Makefile.am index 5be5a1cb60..9826ac64d6 100644 --- a/testsuites/sptests/sp20/Makefile.am +++ b/testsuites/sptests/sp20/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io rate_monotonic +MANAGERS = io rate_monotonic semaphore clock rtems_tests_PROGRAMS = sp20.exe sp20_exe_SOURCES = init.c getall.c task1.c system.h diff --git a/testsuites/sptests/sp21/Makefile.am b/testsuites/sptests/sp21/Makefile.am index 9f91cf7d1f..1823c61063 100644 --- a/testsuites/sptests/sp21/Makefile.am +++ b/testsuites/sptests/sp21/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io +MANAGERS = io semaphore clock rtems_tests_PROGRAMS = sp21.exe sp21_exe_SOURCES = init.c task1.c system.h diff --git a/testsuites/sptests/sp22/Makefile.am b/testsuites/sptests/sp22/Makefile.am index 8b1200027e..cc306e925d 100644 --- a/testsuites/sptests/sp22/Makefile.am +++ b/testsuites/sptests/sp22/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io timer +MANAGERS = io timer semaphore clock rtems_tests_PROGRAMS = sp22.exe sp22_exe_SOURCES = init.c prtime.c delay.c task1.c system.h diff --git a/testsuites/sptests/sp23/Makefile.am b/testsuites/sptests/sp23/Makefile.am index 9d1a4a9e89..500297a176 100644 --- a/testsuites/sptests/sp23/Makefile.am +++ b/testsuites/sptests/sp23/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io dual_ported_memory +MANAGERS = io dual_ported_memory semaphore clock rtems_tests_PROGRAMS = sp23.exe sp23_exe_SOURCES = init.c task1.c system.h diff --git a/testsuites/sptests/sp24/Makefile.am b/testsuites/sptests/sp24/Makefile.am index 6390e37e6d..9cdb49a787 100644 --- a/testsuites/sptests/sp24/Makefile.am +++ b/testsuites/sptests/sp24/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io event timer +MANAGERS = io event timer semaphore clock rtems_tests_PROGRAMS = sp24.exe sp24_exe_SOURCES = init.c resume.c task1.c system.h diff --git a/testsuites/sptests/sp25/Makefile.am b/testsuites/sptests/sp25/Makefile.am index d2b31e5201..e68cd3509e 100644 --- a/testsuites/sptests/sp25/Makefile.am +++ b/testsuites/sptests/sp25/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io region +MANAGERS = io semaphore clock region rtems_tests_PROGRAMS = sp25.exe sp25_exe_SOURCES = init.c task1.c system.h diff --git a/testsuites/sptests/sp26/Makefile.am b/testsuites/sptests/sp26/Makefile.am index d67305184b..79cdf94ff6 100644 --- a/testsuites/sptests/sp26/Makefile.am +++ b/testsuites/sptests/sp26/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io region event +MANAGERS = io event semaphore clock rtems_tests_PROGRAMS = sp26.exe sp26_exe_SOURCES = init.c task1.c system.h diff --git a/testsuites/sptests/sp32/Makefile.am b/testsuites/sptests/sp32/Makefile.am index b57ce120e6..9ddc632646 100644 --- a/testsuites/sptests/sp32/Makefile.am +++ b/testsuites/sptests/sp32/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io rate_monotonic +MANAGERS = io rate_monotonic semaphore clock rtems_tests_PROGRAMS = sp32.exe sp32_exe_SOURCES = init.c diff --git a/testsuites/sptests/sp33/Makefile.am b/testsuites/sptests/sp33/Makefile.am index 02bc562e66..e26fcc5ea0 100644 --- a/testsuites/sptests/sp33/Makefile.am +++ b/testsuites/sptests/sp33/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io barrier +MANAGERS = io barrier semaphore clock rtems_tests_PROGRAMS = sp33.exe sp33_exe_SOURCES = init.c diff --git a/testsuites/sptests/sp34/Makefile.am b/testsuites/sptests/sp34/Makefile.am index c7890cc017..b5308beff1 100644 --- a/testsuites/sptests/sp34/Makefile.am +++ b/testsuites/sptests/sp34/Makefile.am @@ -2,6 +2,8 @@ ## $Id$ ## +MANAGERS = all + rtems_tests_PROGRAMS = sp34.exe sp34_exe_SOURCES = changepri.c diff --git a/testsuites/sptests/sp35/Makefile.am b/testsuites/sptests/sp35/Makefile.am index 2d5b263509..30cc258fb6 100644 --- a/testsuites/sptests/sp35/Makefile.am +++ b/testsuites/sptests/sp35/Makefile.am @@ -2,6 +2,8 @@ ## $Id$ ## +MANAGERS = all + rtems_tests_PROGRAMS = sp35.exe sp35_exe_SOURCES = priinv.c diff --git a/testsuites/sptests/spfatal/Makefile.am b/testsuites/sptests/spfatal/Makefile.am index 2171902e58..559b760ee8 100644 --- a/testsuites/sptests/spfatal/Makefile.am +++ b/testsuites/sptests/spfatal/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io +MANAGERS = all rtems_tests_PROGRAMS = spfatal.exe spfatal_exe_SOURCES = init.c puterr.c fatal.c task1.c system.h diff --git a/testsuites/sptests/spsize/Makefile.am b/testsuites/sptests/spsize/Makefile.am index a004726e48..c1bba3cf5a 100644 --- a/testsuites/sptests/spsize/Makefile.am +++ b/testsuites/sptests/spsize/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = io +MANAGERS = all rtems_tests_PROGRAMS = spsize.exe spsize_exe_SOURCES = init.c getint.c size.c system.h diff --git a/testsuites/sptests/spsize/size.c b/testsuites/sptests/spsize/size.c index b246390d48..4540ba9ab5 100644 --- a/testsuites/sptests/spsize/size.c +++ b/testsuites/sptests/spsize/size.c @@ -219,7 +219,9 @@ uninitialized = /*clock.h*/ 0 + /*config.h*/ (sizeof _Configuration_Table) + + #if defined(RTEMS_MULTIPROCESSING) (sizeof _Configuration_MP_table) + + #endif /*context.h*/ (sizeof _Context_Switch_necessary) + |