diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-11-10 18:22:03 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-11-10 18:22:03 +0000 |
commit | 945f59015ab0e0932fe725c010da88d10724d33e (patch) | |
tree | 4e944e9ca3ca5032ce5ea991d449b7e248a56fb7 /testsuites/mptests/mp01 | |
parent | Removed (Renamed to *-node<N>.*). (diff) | |
download | rtems-945f59015ab0e0932fe725c010da88d10724d33e.tar.bz2 |
New.
Diffstat (limited to 'testsuites/mptests/mp01')
-rw-r--r-- | testsuites/mptests/mp01/node1/mp01-node1.doc | 52 | ||||
-rw-r--r-- | testsuites/mptests/mp01/node1/mp01-node1.scn | 15 | ||||
-rw-r--r-- | testsuites/mptests/mp01/node2/mp01-node2.doc | 12 | ||||
-rw-r--r-- | testsuites/mptests/mp01/node2/mp01-node2.scn | 15 |
4 files changed, 94 insertions, 0 deletions
diff --git a/testsuites/mptests/mp01/node1/mp01-node1.doc b/testsuites/mptests/mp01/node1/mp01-node1.doc new file mode 100644 index 0000000000..9cf06dce74 --- /dev/null +++ b/testsuites/mptests/mp01/node1/mp01-node1.doc @@ -0,0 +1,52 @@ +# +# $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/testsuites/mptests/mp01/node1/mp01-node1.scn b/testsuites/mptests/mp01/node1/mp01-node1.scn new file mode 100644 index 0000000000..d399f79b2a --- /dev/null +++ b/testsuites/mptests/mp01/node1/mp01-node1.scn @@ -0,0 +1,15 @@ +*** 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/testsuites/mptests/mp01/node2/mp01-node2.doc b/testsuites/mptests/mp01/node2/mp01-node2.doc new file mode 100644 index 0000000000..5c0baceb8d --- /dev/null +++ b/testsuites/mptests/mp01/node2/mp01-node2.doc @@ -0,0 +1,12 @@ +# +# $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/testsuites/mptests/mp01/node2/mp01-node2.scn b/testsuites/mptests/mp01/node2/mp01-node2.scn new file mode 100644 index 0000000000..c9831ff9db --- /dev/null +++ b/testsuites/mptests/mp01/node2/mp01-node2.scn @@ -0,0 +1,15 @@ +*** 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 *** |