From 5ada27d280649f5d0f5a1a27769a48f7483695c1 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 11 Nov 2003 00:58:28 +0000 Subject: 2003-11-10 Ralf Corsepius * sp01/.cvsignore: Remove. * sp01/Makefile.am: Remove. * sp01/init.c: Remove. * sp01/sp01.doc: Remove. * sp01/sp01.scn: Remove. * sp01/system.h: Remove. * sp01/task1.c: Remove. * sp02/.cvsignore: Remove. * sp02/Makefile.am: Remove. * sp02/init.c: Remove. * sp02/preempt.c: Remove. * sp02/sp02.doc: Remove. * sp02/sp02.scn: Remove. * sp02/system.h: Remove. * sp02/task1.c: Remove. * sp02/task2.c: Remove. * sp02/task3.c: Remove. * .cvsignore: Remove. * ChangeLog: Remove. * Makefile.am: Remove. * README: Remove. * configure.ac: Remove. * sptests.am: Remove. * sp03/.cvsignore: Remove. * sp03/Makefile.am: Remove. * sp03/init.c: Remove. * sp03/sp03.doc: Remove. * sp03/sp03.scn: Remove. * sp03/system.h: Remove. * sp03/task1.c: Remove. * sp03/task2.c: Remove. * sp04/.cvsignore: Remove. * sp04/Makefile.am: Remove. * sp04/init.c: Remove. * sp04/sp04.doc: Remove. * sp04/sp04.scn: Remove. * sp04/system.h: Remove. * sp04/task1.c: Remove. * sp04/task2.c: Remove. * sp04/task3.c: Remove. * sp04/tswitch.c: Remove. * sp05/.cvsignore: Remove. * sp05/Makefile.am: Remove. * sp05/init.c: Remove. * sp05/sp05.doc: Remove. * sp05/sp05.scn: Remove. * sp05/system.h: Remove. * sp05/task1.c: Remove. * sp05/task2.c: Remove. * sp05/task3.c: Remove. * sp06/.cvsignore: Remove. * sp06/Makefile.am: Remove. * sp06/init.c: Remove. * sp06/sp06.doc: Remove. * sp06/sp06.scn: Remove. * sp06/system.h: Remove. * sp06/task1.c: Remove. * sp06/task2.c: Remove. * sp06/task3.c: Remove. * sp07/.cvsignore: Remove. * sp07/Makefile.am: Remove. * sp07/init.c: Remove. * sp07/sp07.doc: Remove. * sp07/sp07.scn: Remove. * sp07/system.h: Remove. * sp07/task1.c: Remove. * sp07/task2.c: Remove. * sp07/task3.c: Remove. * sp07/task4.c: Remove. * sp07/taskexit.c: Remove. * sp07/tcreate.c: Remove. * sp07/tdelete.c: Remove. * sp07/trestart.c: Remove. * sp07/tstart.c: Remove. * sp08/.cvsignore: Remove. * sp08/Makefile.am: Remove. * sp08/init.c: Remove. * sp08/sp08.doc: Remove. * sp08/sp08.scn: Remove. * sp08/system.h: Remove. * sp08/task1.c: Remove. * sp09/.cvsignore: Remove. * sp09/Makefile.am: Remove. * sp09/delay.c: Remove. * sp09/init.c: Remove. * sp09/isr.c: Remove. * sp09/screen01.c: Remove. * sp09/screen02.c: Remove. * sp09/screen03.c: Remove. * sp09/screen04.c: Remove. * sp09/screen05.c: Remove. * sp09/screen06.c: Remove. * sp09/screen07.c: Remove. * sp09/screen08.c: Remove. * sp09/screen09.c: Remove. * sp09/screen10.c: Remove. * sp09/screen11.c: Remove. * sp09/screen12.c: Remove. * sp09/screen13.c: Remove. * sp09/screen14.c: Remove. * sp09/sp09.doc: Remove. * sp09/sp09.scn: Remove. * sp09/system.h: Remove. * sp09/task1.c: Remove. * sp09/task2.c: Remove. * sp09/task3.c: Remove. * sp09/task4.c: Remove. * sp11/.cvsignore: Remove. * sp11/Makefile.am: Remove. * sp11/init.c: Remove. * sp11/sp11.doc: Remove. * sp11/sp11.scn: Remove. * sp11/system.h: Remove. * sp11/task1.c: Remove. * sp11/task2.c: Remove. * sp11/timer.c: Remove. * sp12/.cvsignore: Remove. * sp12/Makefile.am: Remove. * sp12/init.c: Remove. * sp12/pridrv.c: Remove. * sp12/pritask.c: Remove. * sp12/sp12.doc: Remove. * sp12/sp12.scn: Remove. * sp12/system.h: Remove. * sp12/task1.c: Remove. * sp12/task2.c: Remove. * sp12/task3.c: Remove. * sp12/task4.c: Remove. * sp12/task5.c: Remove. * sp13/.cvsignore: Remove. * sp13/Makefile.am: Remove. * sp13/fillbuff.c: Remove. * sp13/init.c: Remove. * sp13/putbuff.c: Remove. * sp13/sp13.doc: Remove. * sp13/sp13.scn: Remove. * sp13/system.h: Remove. * sp13/task1.c: Remove. * sp13/task2.c: Remove. * sp13/task3.c: Remove. * sp14/.cvsignore: Remove. * sp14/Makefile.am: Remove. * sp14/asr.c: Remove. * sp14/init.c: Remove. * sp14/sp14.doc: Remove. * sp14/sp14.scn: Remove. * sp14/system.h: Remove. * sp14/task1.c: Remove. * sp14/task2.c: Remove. * sp15/.cvsignore: Remove. * sp15/Makefile.am: Remove. * sp15/init.c: Remove. * sp15/sp15.doc: Remove. * sp15/sp15.scn: Remove. * sp15/system.h: Remove. * sp15/task1.c: Remove. * sp16/.cvsignore: Remove. * sp16/Makefile.am: Remove. * sp16/init.c: Remove. * sp16/sp16.doc: Remove. * sp16/sp16.scn: Remove. * sp16/system.h: Remove. * sp16/task1.c: Remove. * sp16/task2.c: Remove. * sp16/task3.c: Remove. * sp16/task4.c: Remove. * sp16/task5.c: Remove. * sp17/.cvsignore: Remove. * sp17/Makefile.am: Remove. * sp17/asr.c: Remove. * sp17/init.c: Remove. * sp17/sp17.doc: Remove. * sp17/sp17.scn: Remove. * sp17/system.h: Remove. * sp17/task1.c: Remove. * sp17/task2.c: Remove. * sp19/.cvsignore: Remove. * sp19/Makefile.am: Remove. * sp19/first.c: Remove. * sp19/fptask.c: Remove. * sp19/fptest.h: Remove. * sp19/init.c: Remove. * sp19/inttest.h: Remove. * sp19/sp19.doc: Remove. * sp19/sp19.scn: Remove. * sp19/system.h: Remove. * sp19/task1.c: Remove. * sp20/.cvsignore: Remove. * sp20/Makefile.am: Remove. * sp20/getall.c: Remove. * sp20/init.c: Remove. * sp20/sp20.doc: Remove. * sp20/sp20.scn: Remove. * sp20/system.h: Remove. * sp20/task1.c: Remove. * sp21/.cvsignore: Remove. * sp21/Makefile.am: Remove. * sp21/init.c: Remove. * sp21/sp21.doc: Remove. * sp21/sp21.scn: Remove. * sp21/system.h: Remove. * sp21/task1.c: Remove. * sp22/.cvsignore: Remove. * sp22/Makefile.am: Remove. * sp22/delay.c: Remove. * sp22/init.c: Remove. * sp22/prtime.c: Remove. * sp22/sp22.doc: Remove. * sp22/sp22.scn: Remove. * sp22/system.h: Remove. * sp22/task1.c: Remove. * sp23/.cvsignore: Remove. * sp23/Makefile.am: Remove. * sp23/init.c: Remove. * sp23/sp23.doc: Remove. * sp23/sp23.scn: Remove. * sp23/system.h: Remove. * sp23/task1.c: Remove. * sp24/.cvsignore: Remove. * sp24/Makefile.am: Remove. * sp24/init.c: Remove. * sp24/resume.c: Remove. * sp24/sp24.doc: Remove. * sp24/sp24.scn: Remove. * sp24/system.h: Remove. * sp24/task1.c: Remove. * sp25/.cvsignore: Remove. * sp25/Makefile.am: Remove. * sp25/init.c: Remove. * sp25/sp25.doc: Remove. * sp25/sp25.scn: Remove. * sp25/system.h: Remove. * sp25/task1.c: Remove. * sp26/.cvsignore: Remove. * sp26/Makefile.am: Remove. * sp26/init.c: Remove. * sp26/sp26.doc: Remove. * sp26/sp26.scn: Remove. * sp26/system.h: Remove. * sp26/task1.c: Remove. * sp27/.cvsignore: Remove. * sp27/Makefile.am: Remove. * sp27/init.c: Remove. * sp27/sp27.doc: Remove. * sp27/sp27.scn: Remove. * sp28/.cvsignore: Remove. * sp28/Makefile.am: Remove. * sp28/init.c: Remove. * sp28/sp28.doc: Remove. * sp28/sp28.scn: Remove. * sp29/.cvsignore: Remove. * sp29/Makefile.am: Remove. * sp29/init.c: Remove. * sp29/sp29.doc: Remove. * sp29/sp29.scn: Remove. * sp30/.cvsignore: Remove. * sp30/Makefile.am: Remove. * sp30/init.c: Remove. * sp30/resume.c: Remove. * sp30/sp30.doc: Remove. * sp30/sp30.scn: Remove. * sp30/system.h: Remove. * sp30/task1.c: Remove. * sp31/.cvsignore: Remove. * sp31/Makefile.am: Remove. * sp31/delay.c: Remove. * sp31/init.c: Remove. * sp31/prtime.c: Remove. * sp31/sp31.doc: Remove. * sp31/sp31.scn: Remove. * sp31/system.h: Remove. * sp31/task1.c: Remove. * sp32/.cvsignore: Remove. * sp32/Makefile.am: Remove. * sp32/init.c: Remove. * sp32/sp32.scn: Remove. * spfatal/.cvsignore: Remove. * spfatal/Makefile.am: Remove. * spfatal/README: Remove. * spfatal/fatal.c: Remove. * spfatal/init.c: Remove. * spfatal/puterr.c: Remove. * spfatal/spfatal.doc: Remove. * spfatal/spfatal.scn: Remove. * spfatal/system.h: Remove. * spfatal/task1.c: Remove. * spsize/.cvsignore: Remove. * spsize/Makefile.am: Remove. * spsize/getint.c: Remove. * spsize/init.c: Remove. * spsize/size.c: Remove. * spsize/size.scn: Remove. * spsize/system.h: Remove. --- c/src/tests/sptests/sp21/.cvsignore | 2 - c/src/tests/sptests/sp21/Makefile.am | 38 ------------- c/src/tests/sptests/sp21/init.c | 52 ----------------- c/src/tests/sptests/sp21/sp21.doc | 27 --------- c/src/tests/sptests/sp21/sp21.scn | 19 ------- c/src/tests/sptests/sp21/system.h | 46 --------------- c/src/tests/sptests/sp21/task1.c | 105 ----------------------------------- 7 files changed, 289 deletions(-) delete mode 100644 c/src/tests/sptests/sp21/.cvsignore delete mode 100644 c/src/tests/sptests/sp21/Makefile.am delete mode 100644 c/src/tests/sptests/sp21/init.c delete mode 100644 c/src/tests/sptests/sp21/sp21.doc delete mode 100644 c/src/tests/sptests/sp21/sp21.scn delete mode 100644 c/src/tests/sptests/sp21/system.h delete mode 100644 c/src/tests/sptests/sp21/task1.c (limited to 'c/src/tests/sptests/sp21') diff --git a/c/src/tests/sptests/sp21/.cvsignore b/c/src/tests/sptests/sp21/.cvsignore deleted file mode 100644 index 282522db03..0000000000 --- a/c/src/tests/sptests/sp21/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -Makefile -Makefile.in diff --git a/c/src/tests/sptests/sp21/Makefile.am b/c/src/tests/sptests/sp21/Makefile.am deleted file mode 100644 index 750f0e09cf..0000000000 --- a/c/src/tests/sptests/sp21/Makefile.am +++ /dev/null @@ -1,38 +0,0 @@ -## -## $Id$ -## - - -TEST = sp21 - -MANAGERS = io - -C_FILES = init.c task1.c -C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT)) - -H_FILES = system.h -noinst_HEADERS = $(H_FILES) - -DOCTYPES = scn doc -DOCS = $(DOCTYPES:%=$(TEST).%) - -SRCS = $(C_FILES) $(H_FILES) -OBJS = $(C_O_FILES) - -PRINT_SRCS = $(DOCS) - -PGM = ${ARCH}/$(TEST).exe - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am -include $(top_srcdir)/sptests.am - -${PGM}: $(OBJS) $(LINK_FILES) - $(make-exe) - -all-local: $(ARCH) $(TMPINSTALL_FILES) - -EXTRA_DIST = $(C_FILES) $(DOCS) - -include $(top_srcdir)/../automake/local.am diff --git a/c/src/tests/sptests/sp21/init.c b/c/src/tests/sptests/sp21/init.c deleted file mode 100644 index 931e91a820..0000000000 --- a/c/src/tests/sptests/sp21/init.c +++ /dev/null @@ -1,52 +0,0 @@ -/* Init - * - * This routine is the initialization task for this test program. - * It is a user initialization task and has the responsibility for creating - * and starting the tasks that make up the test. If the time of day - * clock is required for the test, it should also be set to a known - * value by this function. - * - * Input parameters: - * argument - task argument - * - * Output parameters: NONE - * - * COPYRIGHT (c) 1989-1999. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - * - * $Id$ - */ - -#define TEST_INIT -#include "system.h" - -rtems_task Init( - rtems_task_argument argument -) -{ - rtems_status_code status; - - puts( "\n\n*** TEST 21 ***" ); - - Task_name[ 1 ] = rtems_build_name( 'T', 'A', '1', ' ' ); - - status = rtems_task_create( - Task_name[ 1 ], - 1, - RTEMS_MINIMUM_STACK_SIZE, - RTEMS_DEFAULT_MODES, - RTEMS_DEFAULT_ATTRIBUTES, - &Task_id[ 1 ] - ); - directive_failed( status, "rtems_task_create of TA1" ); - - status = rtems_task_start( Task_id[ 1 ], Task_1, 0 ); - directive_failed( status, "rtems_task_start of TA1" ); - - status = rtems_task_delete( RTEMS_SELF ); - directive_failed( status, "rtems_task_delete of RTEMS_SELF" ); -} diff --git a/c/src/tests/sptests/sp21/sp21.doc b/c/src/tests/sptests/sp21/sp21.doc deleted file mode 100644 index 00e769a10d..0000000000 --- a/c/src/tests/sptests/sp21/sp21.doc +++ /dev/null @@ -1,27 +0,0 @@ -# -# $Id$ -# -# COPYRIGHT (c) 1989-1999. -# On-Line Applications Research Corporation (OAR). -# -# The license and distribution terms for this file may be -# found in the file LICENSE in this distribution or at -# http://www.rtems.com/license/LICENSE. -# - - -This file describes the directives and concepts tested by this test set. - -test set name: test21 - -directives: - ex_init, ex_start, t_create, t_start, tm_tick, i_return, t_delete - de_init, de_open, de_close, de_read, de_write, de_cntrl - -concepts: - - a. Verifies all I/O manager directives always return successful for - null drivers. - - b. Verifies all I/O manager directives call and return from the driver - entry points in the driver address table. diff --git a/c/src/tests/sptests/sp21/sp21.scn b/c/src/tests/sptests/sp21/sp21.scn deleted file mode 100644 index c6392e3ea3..0000000000 --- a/c/src/tests/sptests/sp21/sp21.scn +++ /dev/null @@ -1,19 +0,0 @@ -*** TEST 21 *** ------ TESTING THE NULL DRIVER CHECKS ----- -TA1 - rtems_io_initialize - NULL DRIVER RTEMS_SUCCESSFUL -TA1 - rtems_io_open - NULL DRIVER RTEMS_SUCCESSFUL -TA1 - rtems_io_close - NULL DRIVER RTEMS_SUCCESSFUL -TA1 - rtems_io_read - NULL DRIVER RTEMS_SUCCESSFUL -TA1 - rtems_io_write - NULL DRIVER RTEMS_SUCCESSFUL -TA1 - rtems_io_control - NULL DRIVER RTEMS_SUCCESSFUL ------ TESTING THE I/O MANAGER DIRECTIVES ----- -TA1 - rtems_io_initialize - STUB DRIVER RTEMS_SUCCESSFUL -TA1 - rtems_io_open - STUB DRIVER RTEMS_SUCCESSFUL -TA1 - rtems_io_close - STUB DRIVER RTEMS_SUCCESSFUL -TA1 - rtems_io_read - STUB DRIVER RTEMS_SUCCESSFUL -TA1 - rtems_io_write - STUB DRIVER RTEMS_SUCCESSFUL -TA1 - rtems_io_control - STUB DRIVER RTEMS_SUCCESSFUL ------ RETURNING INVALID MAJOR NUMBER ----- -TA1 - rtems_io_initialize - RTEMS_INVALID_NUMBER -TA1 - rtems_io_open - RTEMS_INVALID_NUMBER -*** END OF TEST 21 *** diff --git a/c/src/tests/sptests/sp21/system.h b/c/src/tests/sptests/sp21/system.h deleted file mode 100644 index a0111644bc..0000000000 --- a/c/src/tests/sptests/sp21/system.h +++ /dev/null @@ -1,46 +0,0 @@ -/* system.h - * - * This include file contains information that is included in every - * function in the test set. - * - * COPYRIGHT (c) 1989-1999. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - * - * $Id$ - */ - -#include - -/* functions */ - -rtems_task Init( - rtems_task_argument argument -); - -rtems_task Task_1( - rtems_task_argument argument -); - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_STUB_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_NULL_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 2 - -#define CONFIGURE_RTEMS_INIT_TASKS_TABLE - -#include - -/* global variables */ - -TEST_EXTERN rtems_id Task_id[ 4 ]; /* array of task ids */ -TEST_EXTERN rtems_name Task_name[ 4 ]; /* array of task names */ - -/* end of include file */ diff --git a/c/src/tests/sptests/sp21/task1.c b/c/src/tests/sptests/sp21/task1.c deleted file mode 100644 index addb5e63bc..0000000000 --- a/c/src/tests/sptests/sp21/task1.c +++ /dev/null @@ -1,105 +0,0 @@ -/* Task_1 - * - * This routine serves as a test task. It tests the I/O manager. - * - * Input parameters: - * argument - task argument - * - * Output parameters: NONE - * - * COPYRIGHT (c) 1989-2002. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - * - * $Id$ - */ - -#include "system.h" - -#define STUB_DRIVER_MAJOR 0x2 -#define NO_DRIVER_MAJOR 0x3 -#define INVALID_DRIVER_MAJOR (Configuration.number_of_device_drivers + 1) -/* #define INVALID_DRIVER_MAJOR 0xffffffff */ - -rtems_task Task_1( - rtems_task_argument argument -) -{ - rtems_status_code status; - - puts( "----- TESTING THE NULL DRIVER CHECKS -----" ); - - status = rtems_io_initialize( NO_DRIVER_MAJOR, 0, NULL ); - directive_failed( status, "rtems_io_initialize" ); - puts( "TA1 - rtems_io_initialize - NULL DRIVER RTEMS_SUCCESSFUL" ); - - status = rtems_io_open( NO_DRIVER_MAJOR, 0, NULL ); - directive_failed( status, "rtems_io_open" ); - puts( "TA1 - rtems_io_open - NULL DRIVER RTEMS_SUCCESSFUL" ); - - status = rtems_io_close( NO_DRIVER_MAJOR, 0, NULL ); - directive_failed( status, "rtems_io_close" ); - puts( "TA1 - rtems_io_close - NULL DRIVER RTEMS_SUCCESSFUL" ); - - status = rtems_io_read( NO_DRIVER_MAJOR, 0, NULL ); - directive_failed( status, "rtems_io_read" ); - puts( "TA1 - rtems_io_read - NULL DRIVER RTEMS_SUCCESSFUL" ); - - status = rtems_io_write( NO_DRIVER_MAJOR, 0, NULL ); - directive_failed( status, "rtems_io_write" ); - puts( "TA1 - rtems_io_write - NULL DRIVER RTEMS_SUCCESSFUL" ); - - status = rtems_io_control( NO_DRIVER_MAJOR, 0, NULL ); - directive_failed( status, "rtems_io_control" ); - puts( "TA1 - rtems_io_control - NULL DRIVER RTEMS_SUCCESSFUL" ); - - puts( "----- TESTING THE I/O MANAGER DIRECTIVES -----" ); - - status = rtems_io_initialize( STUB_DRIVER_MAJOR, 0, NULL ); - directive_failed( status, "rtems_io_initialize" ); - puts( "TA1 - rtems_io_initialize - STUB DRIVER RTEMS_SUCCESSFUL" ); - - status = rtems_io_open( STUB_DRIVER_MAJOR, 0, NULL ); - directive_failed( status, "rtems_io_open" ); - puts( "TA1 - rtems_io_open - STUB DRIVER RTEMS_SUCCESSFUL" ); - - status = rtems_io_close( STUB_DRIVER_MAJOR, 0, NULL ); - directive_failed( status, "rtems_io_close" ); - puts( "TA1 - rtems_io_close - STUB DRIVER RTEMS_SUCCESSFUL" ); - - status = rtems_io_read( STUB_DRIVER_MAJOR, 0, NULL ); - directive_failed( status, "rtems_io_read" ); - puts( "TA1 - rtems_io_read - STUB DRIVER RTEMS_SUCCESSFUL" ); - - status = rtems_io_write( STUB_DRIVER_MAJOR, 0, NULL ); - directive_failed( status, "rtems_io_write" ); - puts( "TA1 - rtems_io_write - STUB DRIVER RTEMS_SUCCESSFUL" ); - - status = rtems_io_control( STUB_DRIVER_MAJOR, 0, NULL ); - directive_failed( status, "rtems_io_control" ); - puts( "TA1 - rtems_io_control - STUB DRIVER RTEMS_SUCCESSFUL" ); - - puts( "----- RETURNING INVALID MAJOR NUMBER -----" ); - - status = rtems_io_initialize( INVALID_DRIVER_MAJOR, 0, NULL ); - fatal_directive_status( - status, - RTEMS_INVALID_NUMBER, - "rtems_io_initialize" - ); - puts( "TA1 - rtems_io_initialize - RTEMS_INVALID_NUMBER" ); - - status = rtems_io_open( INVALID_DRIVER_MAJOR, 0, NULL ); - fatal_directive_status( - status, - RTEMS_INVALID_NUMBER, - "rtems_io_open" - ); - puts( "TA1 - rtems_io_open - RTEMS_INVALID_NUMBER" ); - - puts( "*** END OF TEST 21 ***" ); - rtems_test_exit( 0 ); -} -- cgit v1.2.3