summaryrefslogtreecommitdiffstats
path: root/c/src/tests/mptests/mp01
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-11-11 01:01:27 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-11-11 01:01:27 +0000
commitbab35bd6f7587ae388ee8b63d207a756a7f4bae1 (patch)
tree6aa8a97640ae0d387c9a52b9031fbab7c2a35035 /c/src/tests/mptests/mp01
parent2003-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-bab35bd6f7587ae388ee8b63d207a756a7f4bae1.tar.bz2
2003-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* mp01/node1/.cvsignore: Remove. * mp01/node1/Makefile.am: Remove. * mp01/node1/mp01.doc: Remove. * mp01/node1/mp01.scn: Remove. * mp01/.cvsignore: Remove. * mp01/Makefile.am: Remove. * mp01/init.c: Remove. * mp01/system.h: Remove. * mp01/task1.c: Remove. * mp01/node2/.cvsignore: Remove. * mp01/node2/Makefile.am: Remove. * mp01/node2/mp01.doc: Remove. * mp01/node2/mp01.scn: Remove. * mp02/node1/.cvsignore: Remove. * mp02/node1/Makefile.am: Remove. * mp02/node1/mp02.doc: Remove. * mp02/node1/mp02.scn: Remove. * mp02/.cvsignore: Remove. * mp02/Makefile.am: Remove. * mp02/init.c: Remove. * mp02/system.h: Remove. * mp02/task1.c: Remove. * mp02/node2/.cvsignore: Remove. * mp02/node2/Makefile.am: Remove. * mp02/node2/mp02.doc: Remove. * mp02/node2/mp02.scn: Remove. * .cvsignore: Remove. * ChangeLog: Remove. * Makefile.am: Remove. * README: Remove. * configure.ac: Remove. * mptests.am: Remove. * mp03/node1/.cvsignore: Remove. * mp03/node1/Makefile.am: Remove. * mp03/node1/mp03.doc: Remove. * mp03/node1/mp03.scn: Remove. * mp03/.cvsignore: Remove. * mp03/Makefile.am: Remove. * mp03/delay.c: Remove. * mp03/init.c: Remove. * mp03/system.h: Remove. * mp03/task1.c: Remove. * mp03/node2/.cvsignore: Remove. * mp03/node2/Makefile.am: Remove. * mp03/node2/mp03.doc: Remove. * mp03/node2/mp03.scn: Remove. * mp04/node1/.cvsignore: Remove. * mp04/node1/Makefile.am: Remove. * mp04/node1/mp04.doc: Remove. * mp04/node1/mp04.scn: Remove. * mp04/.cvsignore: Remove. * mp04/Makefile.am: Remove. * mp04/init.c: Remove. * mp04/system.h: Remove. * mp04/task1.c: Remove. * mp04/node2/.cvsignore: Remove. * mp04/node2/Makefile.am: Remove. * mp04/node2/mp04.doc: Remove. * mp04/node2/mp04.scn: Remove. * mp05/node1/.cvsignore: Remove. * mp05/node1/Makefile.am: Remove. * mp05/node1/mp05.doc: Remove. * mp05/node1/mp05.scn: Remove. * mp05/.cvsignore: Remove. * mp05/Makefile.am: Remove. * mp05/asr.c: Remove. * mp05/init.c: Remove. * mp05/system.h: Remove. * mp05/task1.c: Remove. * mp05/node2/.cvsignore: Remove. * mp05/node2/Makefile.am: Remove. * mp05/node2/mp05.doc: Remove. * mp05/node2/mp05.scn: Remove. * mp06/node1/.cvsignore: Remove. * mp06/node1/Makefile.am: Remove. * mp06/node1/mp06.doc: Remove. * mp06/node1/mp06.scn: Remove. * mp06/.cvsignore: Remove. * mp06/Makefile.am: Remove. * mp06/init.c: Remove. * mp06/system.h: Remove. * mp06/task1.c: Remove. * mp06/node2/.cvsignore: Remove. * mp06/node2/Makefile.am: Remove. * mp06/node2/mp06.doc: Remove. * mp06/node2/mp06.scn: Remove. * mp07/node1/.cvsignore: Remove. * mp07/node1/Makefile.am: Remove. * mp07/node1/mp07.doc: Remove. * mp07/node1/mp07.scn: Remove. * mp07/.cvsignore: Remove. * mp07/Makefile.am: Remove. * mp07/init.c: Remove. * mp07/system.h: Remove. * mp07/task1.c: Remove. * mp07/node2/.cvsignore: Remove. * mp07/node2/Makefile.am: Remove. * mp07/node2/mp07.doc: Remove. * mp07/node2/mp07.scn: Remove. * mp08/node1/.cvsignore: Remove. * mp08/node1/Makefile.am: Remove. * mp08/node1/mp08.doc: Remove. * mp08/node1/mp08.scn: Remove. * mp08/.cvsignore: Remove. * mp08/Makefile.am: Remove. * mp08/init.c: Remove. * mp08/system.h: Remove. * mp08/task1.c: Remove. * mp08/node2/.cvsignore: Remove. * mp08/node2/Makefile.am: Remove. * mp08/node2/mp08.doc: Remove. * mp08/node2/mp08.scn: Remove. * mp09/node1/.cvsignore: Remove. * mp09/node1/Makefile.am: Remove. * mp09/node1/mp09.doc: Remove. * mp09/node1/mp09.scn: Remove. * mp09/.cvsignore: Remove. * mp09/Makefile.am: Remove. * mp09/init.c: Remove. * mp09/recvmsg.c: Remove. * mp09/sendmsg.c: Remove. * mp09/system.h: Remove. * mp09/task1.c: Remove. * mp09/node2/.cvsignore: Remove. * mp09/node2/Makefile.am: Remove. * mp09/node2/mp09.doc: Remove. * mp09/node2/mp09.scn: Remove. * mp10/node1/.cvsignore: Remove. * mp10/node1/Makefile.am: Remove. * mp10/node1/mp10.doc: Remove. * mp10/node1/mp10.scn: Remove. * mp10/.cvsignore: Remove. * mp10/Makefile.am: Remove. * mp10/init.c: Remove. * mp10/system.h: Remove. * mp10/task1.c: Remove. * mp10/task2.c: Remove. * mp10/task3.c: Remove. * mp10/node2/.cvsignore: Remove. * mp10/node2/Makefile.am: Remove. * mp10/node2/mp10.doc: Remove. * mp10/node2/mp10.scn: Remove. * mp11/node1/.cvsignore: Remove. * mp11/node1/Makefile.am: Remove. * mp11/node1/mp11.doc: Remove. * mp11/node1/mp11.scn: Remove. * mp11/.cvsignore: Remove. * mp11/Makefile.am: Remove. * mp11/init.c: Remove. * mp11/system.h: Remove. * mp11/node2/.cvsignore: Remove. * mp11/node2/Makefile.am: Remove. * mp11/node2/mp11.doc: Remove. * mp11/node2/mp11.scn: Remove. * mp12/node1/.cvsignore: Remove. * mp12/node1/Makefile.am: Remove. * mp12/node1/mp12.doc: Remove. * mp12/node1/mp12.scn: Remove. * mp12/.cvsignore: Remove. * mp12/Makefile.am: Remove. * mp12/init.c: Remove. * mp12/system.h: Remove. * mp12/node2/.cvsignore: Remove. * mp12/node2/Makefile.am: Remove. * mp12/node2/mp12.doc: Remove. * mp12/node2/mp12.scn: Remove. * mp13/node1/.cvsignore: Remove. * mp13/node1/Makefile.am: Remove. * mp13/node1/mp13.doc: Remove. * mp13/node1/mp13.scn: Remove. * mp13/.cvsignore: Remove. * mp13/Makefile.am: Remove. * mp13/init.c: Remove. * mp13/system.h: Remove. * mp13/task1.c: Remove. * mp13/task2.c: Remove. * mp13/node2/.cvsignore: Remove. * mp13/node2/Makefile.am: Remove. * mp13/node2/mp13.doc: Remove. * mp13/node2/mp13.scn: Remove. * mp14/node1/.cvsignore: Remove. * mp14/node1/Makefile.am: Remove. * mp14/node1/mp14.doc: Remove. * mp14/node1/mp14.scn: Remove. * mp14/.cvsignore: Remove. * mp14/Makefile.am: Remove. * mp14/delay.c: Remove. * mp14/evtask1.c: Remove. * mp14/evtmtask.c: Remove. * mp14/exit.c: Remove. * mp14/init.c: Remove. * mp14/msgtask1.c: Remove. * mp14/pttask1.c: Remove. * mp14/smtask1.c: Remove. * mp14/system.h: Remove. * mp14/node2/.cvsignore: Remove. * mp14/node2/Makefile.am: Remove. * mp14/node2/mp14.doc: Remove. * mp14/node2/mp14.scn: Remove.
Diffstat (limited to 'c/src/tests/mptests/mp01')
-rw-r--r--c/src/tests/mptests/mp01/.cvsignore2
-rw-r--r--c/src/tests/mptests/mp01/Makefile.am11
-rw-r--r--c/src/tests/mptests/mp01/init.c95
-rw-r--r--c/src/tests/mptests/mp01/node1/.cvsignore2
-rw-r--r--c/src/tests/mptests/mp01/node1/Makefile.am50
-rw-r--r--c/src/tests/mptests/mp01/node1/mp01.doc52
-rw-r--r--c/src/tests/mptests/mp01/node1/mp01.scn15
-rw-r--r--c/src/tests/mptests/mp01/node2/.cvsignore2
-rw-r--r--c/src/tests/mptests/mp01/node2/Makefile.am50
-rw-r--r--c/src/tests/mptests/mp01/node2/mp01.doc12
-rw-r--r--c/src/tests/mptests/mp01/node2/mp01.scn15
-rw-r--r--c/src/tests/mptests/mp01/system.h47
-rw-r--r--c/src/tests/mptests/mp01/task1.c83
13 files changed, 0 insertions, 436 deletions
diff --git a/c/src/tests/mptests/mp01/.cvsignore b/c/src/tests/mptests/mp01/.cvsignore
deleted file mode 100644
index 282522db03..0000000000
--- a/c/src/tests/mptests/mp01/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-Makefile
-Makefile.in
diff --git a/c/src/tests/mptests/mp01/Makefile.am b/c/src/tests/mptests/mp01/Makefile.am
deleted file mode 100644
index ec7997091b..0000000000
--- a/c/src/tests/mptests/mp01/Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
-##
-## $Id$
-##
-
-
-SUBDIRS = node1 node2
-
-EXTRA_DIST = system.h init.c task1.c
-
-include $(top_srcdir)/../automake/subdirs.am
-include $(top_srcdir)/../automake/local.am
diff --git a/c/src/tests/mptests/mp01/init.c b/c/src/tests/mptests/mp01/init.c
deleted file mode 100644
index a7095cd626..0000000000
--- a/c/src/tests/mptests/mp01/init.c
+++ /dev/null
@@ -1,95 +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;
- rtems_time_of_day time;
- char c;
-
- printf(
- "\n\n*** TEST 1 -- NODE %d ***\n",
- Multiprocessing_configuration.node
- );
-
- if ( Multiprocessing_configuration.node != 1 ) c = 'S';
- else c = 'M';
-
- Task_name[ 1 ] = rtems_build_name( c, 'A', '1', ' ' );
- Task_name[ 2 ] = rtems_build_name( c, 'A', '2', ' ' );
- Task_name[ 3 ] = rtems_build_name( c, 'A', '3', ' ' );
-
- build_time( &time, 12, 31, 1988, 9, 0, 0, 0 );
- status = rtems_clock_set( &time );
- directive_failed( status, "rtems_clock_set" );
-
- puts( "Creating task 1 (Global)" );
- status = rtems_task_create(
- Task_name[ 1 ],
- 1,
- RTEMS_MINIMUM_STACK_SIZE,
- RTEMS_DEFAULT_MODES,
- RTEMS_GLOBAL,
- &Task_id[ 1 ]
- );
- directive_failed( status, "rtems_task_create of Task 1" );
-
- puts( "Creating task 2 (Global)" );
- status = rtems_task_create(
- Task_name[ 2 ],
- 1,
- RTEMS_MINIMUM_STACK_SIZE,
- RTEMS_TIMESLICE,
- RTEMS_GLOBAL,
- &Task_id[ 2 ]
- );
- directive_failed( status, "rtems_task_create of Task 2" );
-
- puts( "Creating task 3 (Local)" );
- status = rtems_task_create(
- Task_name[ 3 ],
- 1,
- RTEMS_MINIMUM_STACK_SIZE,
- RTEMS_DEFAULT_MODES,
- RTEMS_DEFAULT_ATTRIBUTES,
- &Task_id[ 3 ]
- );
- directive_failed( status, "rtems_task_create of Task 3" );
-
- status = rtems_task_start( Task_id[ 1 ], Test_task, 0 );
- directive_failed( status, "rtems_task_start of Task 1" );
-
- status = rtems_task_start( Task_id[ 2 ], Test_task, 0 );
- directive_failed( status, "rtems_task_start of Task 2" );
-
- status = rtems_task_start( Task_id[ 3 ], Test_task, 0 );
- directive_failed( status, "rtems_task_start of Task 3" );
-
- status = rtems_task_delete( RTEMS_SELF );
- directive_failed( status, "rtems_task_delete of RTEMS_SELF" );
-}
diff --git a/c/src/tests/mptests/mp01/node1/.cvsignore b/c/src/tests/mptests/mp01/node1/.cvsignore
deleted file mode 100644
index 282522db03..0000000000
--- a/c/src/tests/mptests/mp01/node1/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-Makefile
-Makefile.in
diff --git a/c/src/tests/mptests/mp01/node1/Makefile.am b/c/src/tests/mptests/mp01/node1/Makefile.am
deleted file mode 100644
index c819ae36f1..0000000000
--- a/c/src/tests/mptests/mp01/node1/Makefile.am
+++ /dev/null
@@ -1,50 +0,0 @@
-##
-## $Id$
-##
-
-
-VPATH = @srcdir@:@srcdir@/..
-
-NODE = 1
-TEST = mp01
-PGM = ${ARCH}/$(TEST)-node$(NODE).exe
-
-MANAGERS = io mp
-
-C_FILES = init.c task1.c
-C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
-
-H_FILES = system.h
-
-DOCTYPES = doc scn
-DOCS = $(DOCTYPES:%=$(TEST).%)
-
-SRCS = $(DOCS) $(C_FILES) $(H_FILES)
-OBJS = $(C_O_FILES)
-
-PRINT_SRCS = $(DOCS)
-
-include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
-include $(top_srcdir)/../automake/compile.am
-include $(top_srcdir)/../automake/leaf.am
-include $(top_srcdir)/mptests.am
-
-AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
-
-if HAS_MP
-
-#
-# (OPTIONAL) Add local stuff here using +=
-#
-
-${PGM}: $(OBJS) $(LINK_FILES)
- $(make-exe)
-
-all-local: $(ARCH) $(TMPINSTALL_FILES)
-else
-all-local:
-endif
-
-EXTRA_DIST = $(DOCS)
-
-include $(top_srcdir)/../automake/local.am
diff --git a/c/src/tests/mptests/mp01/node1/mp01.doc b/c/src/tests/mptests/mp01/node1/mp01.doc
deleted file mode 100644
index 9cf06dce74..0000000000
--- a/c/src/tests/mptests/mp01/node1/mp01.doc
+++ /dev/null
@@ -1,52 +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: test50
-
-directives:
- ex_init, ex_start, t_create, t_start, tm_tick, i_return, t_ident,
- tm_set, tm_get, tm_wkafter, t_delete
-
-concepts:
-
- a. Verifies system can create and start both the executive's system
- initialization and idle task.
-
- b. Verifies executive can swap between three application tasks at the
- same priority and the executive's internal idle task.
-
- c. Verifies can print strings to the CRT on port 2 of the mvme136 board
- using Print and Println in the board support package.
-
- d. Verifies interrupt handler can handler a task switch from an interrupt
- as specified with the i_return directive.
-
- e. Verifies executive initialization performed correctly.
-
- f. Verifies the executive trap handler except for the halt function.
-
- g. Verifies that a task can get the task identification number of itself.
-
- h. Verifies that a task can get the task identification number
- of a global task on the local processor.
-
- i. Verifies that a task can delete itself or a global task on
- the local processor.
-
- j. Verifies Shared Memory Locked Queue driver for initialization,
- getting a packet, broadcasting a packet, and returning a packet.
-
- k. Can be used to verify that global packet type P_SYSVERIFY,
- P_OBJCREATE (task), and P_OBJDELETE (task) are sent and
- correctly processed by a remote node.
diff --git a/c/src/tests/mptests/mp01/node1/mp01.scn b/c/src/tests/mptests/mp01/node1/mp01.scn
deleted file mode 100644
index d399f79b2a..0000000000
--- a/c/src/tests/mptests/mp01/node1/mp01.scn
+++ /dev/null
@@ -1,15 +0,0 @@
-*** TEST 1 -- NODE 1 ***
-Creating task 1 (Global)
-Creating task 2 (Global)
-Creating task 3 (Local)
-MA1 - rtems_clock_get - 09:00:00 12/31/1988
-MA2 - rtems_clock_get - 09:00:00 12/31/1988
-MA3 - rtems_clock_get - 09:00:00 12/31/1988
-MA1 - rtems_clock_get - 09:00:05 12/31/1988
-MA1 - deleting self
-MA2 - rtems_clock_get - 09:00:10 12/31/1988
-MA2 - waiting to be deleted by MA3
-MA3 - rtems_clock_get - 09:00:15 12/31/1988
-MA3 - getting TID of MA2
-MA3 - deleting MA2
-*** END OF TEST 1 ***
diff --git a/c/src/tests/mptests/mp01/node2/.cvsignore b/c/src/tests/mptests/mp01/node2/.cvsignore
deleted file mode 100644
index 282522db03..0000000000
--- a/c/src/tests/mptests/mp01/node2/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-Makefile
-Makefile.in
diff --git a/c/src/tests/mptests/mp01/node2/Makefile.am b/c/src/tests/mptests/mp01/node2/Makefile.am
deleted file mode 100644
index 71ecee9ea5..0000000000
--- a/c/src/tests/mptests/mp01/node2/Makefile.am
+++ /dev/null
@@ -1,50 +0,0 @@
-##
-## $Id$
-##
-
-
-VPATH = @srcdir@:@srcdir@/..
-
-NODE = 2
-TEST = mp01
-PGM = ${ARCH}/$(TEST)-node$(NODE).exe
-
-MANAGERS = io mp
-
-C_FILES = init.c task1.c
-C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
-
-H_FILES = system.h
-
-DOCTYPES = doc scn
-DOCS = $(DOCTYPES:%=$(TEST).%)
-
-SRCS = $(DOCS) $(C_FILES) $(H_FILES)
-OBJS = $(C_O_FILES)
-
-PRINT_SRCS = $(DOCS)
-
-include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
-include $(top_srcdir)/../automake/compile.am
-include $(top_srcdir)/../automake/leaf.am
-include $(top_srcdir)/mptests.am
-
-AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
-
-if HAS_MP
-
-#
-# (OPTIONAL) Add local stuff here using +=
-#
-
-${PGM}: $(OBJS) $(LINK_FILES)
- $(make-exe)
-
-all-local: $(ARCH) $(TMPINSTALL_FILES)
-else
-all-local:
-endif
-
-EXTRA_DIST = $(DOCS)
-
-include $(top_srcdir)/../automake/local.am
diff --git a/c/src/tests/mptests/mp01/node2/mp01.doc b/c/src/tests/mptests/mp01/node2/mp01.doc
deleted file mode 100644
index 5c0baceb8d..0000000000
--- a/c/src/tests/mptests/mp01/node2/mp01.doc
+++ /dev/null
@@ -1,12 +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.
-#
-
-
diff --git a/c/src/tests/mptests/mp01/node2/mp01.scn b/c/src/tests/mptests/mp01/node2/mp01.scn
deleted file mode 100644
index c9831ff9db..0000000000
--- a/c/src/tests/mptests/mp01/node2/mp01.scn
+++ /dev/null
@@ -1,15 +0,0 @@
-*** TEST 1 -- NODE 2 ***
-Creating task 1 (Global)
-Creating task 2 (Global)
-Creating task 3 (Local)
-SA1 - rtems_clock_get - 09:00:00 12/31/1988
-SA2 - rtems_clock_get - 09:00:00 12/31/1988
-SA3 - rtems_clock_get - 09:00:00 12/31/1988
-SA1 - rtems_clock_get - 09:00:05 12/31/1988
-SA1 - deleting self
-SA2 - rtems_clock_get - 09:00:10 12/31/1988
-SA2 - waiting to be deleted by SA3
-SA3 - rtems_clock_get - 09:00:15 12/31/1988
-SA3 - getting TID of SA2
-SA3 - deleting SA2
-*** END OF TEST 1 ***
diff --git a/c/src/tests/mptests/mp01/system.h b/c/src/tests/mptests/mp01/system.h
deleted file mode 100644
index 36c135e13f..0000000000
--- a/c/src/tests/mptests/mp01/system.h
+++ /dev/null
@@ -1,47 +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 <tmacros.h>
-
-/* functions */
-
-rtems_task Init(
- rtems_task_argument argument
-);
-
-rtems_task Test_task(
- rtems_task_argument argument
-);
-
-/* configuration information */
-
-#define CONFIGURE_MP_APPLICATION
-
-#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
-#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
-
-#define CONFIGURE_MAXIMUM_TASKS 4
-
-#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_GLOBAL
-#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
-
-#include <confdefs.h>
-
-/* 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/mptests/mp01/task1.c b/c/src/tests/mptests/mp01/task1.c
deleted file mode 100644
index c4b80e67fc..0000000000
--- a/c/src/tests/mptests/mp01/task1.c
+++ /dev/null
@@ -1,83 +0,0 @@
-/* Test_task
- *
- * This task is used for three test tasks. It obtains its task id and
- * based upon that id, performs certain actions.
- *
- * Task_1 delays 5 seconds and deletes itself.
- * Task_2 delays 10 seconds and then loops until
- * deleted by the third task.
- * Task 3 delays 15 seconds, then deletes task 2 and itself.
- *
- * 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$
- */
-
-#include "system.h"
-
-rtems_task Test_task(
- rtems_task_argument argument
-)
-{
- rtems_status_code status;
- rtems_id tid;
- rtems_time_of_day time;
-
- status = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid );
- directive_failed( status, "rtems_task_ident" );
-
- status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
- directive_failed( status, "rtems_clock_get" );
-
- put_name( Task_name[ task_number( tid ) ], FALSE );
- print_time( " - rtems_clock_get - ", &time, "\n" );
-
- status = rtems_task_wake_after( task_number( tid ) * 1 * TICKS_PER_SECOND );
- directive_failed( status, "rtems_task_wake_after" );
-
- status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
- directive_failed( status, "rtems_clock_get" );
- put_name( Task_name[ task_number( tid ) ], FALSE );
- print_time( " - rtems_clock_get - ", &time, "\n" );
-
- if ( task_number(tid) == 1 ) { /* TASK 1 */
- put_name( Task_name[ 1 ], FALSE );
- printf( " - deleting self\n" );
- status = rtems_task_delete( RTEMS_SELF );
- directive_failed( status, "rtems_task_delete of RTEMS_SELF" );
- }
- else if ( task_number(tid) == 2 ) { /* TASK 2 */
- put_name( Task_name[ 2 ], FALSE );
- printf( " - waiting to be deleted by " );
- put_name( Task_name[ 3 ], TRUE );
- while ( FOREVER );
- }
- else { /* TASK 3 */
- put_name( Task_name[ 3 ], FALSE );
- printf( " - getting TID of " );
- put_name( Task_name[ 2 ], TRUE );
- do {
- status = rtems_task_ident( Task_name[ 2 ], RTEMS_SEARCH_ALL_NODES, &tid );
- } while ( status != RTEMS_SUCCESSFUL );
- directive_failed( status, "rtems_task_ident" );
-
- put_name( Task_name[ 3 ], FALSE );
- printf( " - deleting " );
- put_name( Task_name[ 2 ], TRUE );
- status = rtems_task_delete( tid );
- directive_failed( status, "rtems_task_delete of Task 2" );
-
- puts( "*** END OF TEST 1 ***" );
- rtems_test_exit(0);
- }
-}