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/mp02 | |
parent | Removed (Renamed to *-node<N>.*). (diff) | |
download | rtems-945f59015ab0e0932fe725c010da88d10724d33e.tar.bz2 |
New.
Diffstat (limited to 'testsuites/mptests/mp02')
-rw-r--r-- | testsuites/mptests/mp02/node1/mp02-node1.doc | 46 | ||||
-rw-r--r-- | testsuites/mptests/mp02/node1/mp02-node1.scn | 14 | ||||
-rw-r--r-- | testsuites/mptests/mp02/node2/mp02-node2.doc | 12 | ||||
-rw-r--r-- | testsuites/mptests/mp02/node2/mp02-node2.scn | 14 |
4 files changed, 86 insertions, 0 deletions
diff --git a/testsuites/mptests/mp02/node1/mp02-node1.doc b/testsuites/mptests/mp02/node1/mp02-node1.doc new file mode 100644 index 0000000000..bdfa6b6e62 --- /dev/null +++ b/testsuites/mptests/mp02/node1/mp02-node1.doc @@ -0,0 +1,46 @@ +# +# $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: test51 + +directives: + ex_init, ex_start, t_create, t_start, tm_tick, i_return, t_ident, + tm_set, tm_get, tm_wkafter, t_delete, t_restart, t_getreg, t_setreg + +concepts: + + a. Verifies system can create and start both the executive's system + initialization and idle task. + + b. Verifies can print strings to the CRT on port 2 of the mvme136 board + using Print and Println in the board support package. + + c. Verifies interrupt handler can handler a task switch from an interrupt + as specified with the i_return directive. + + d. Verifies executive initialization performed correctly. + + e. Verifies that a task can get the task identification number of itself. + + f. Verifies that a task can get the task identification number + of another task. + + g. Verifies that a task can delete itself or another task. + + h. Verifies that errors are returned in the following situations: + 1) when attempting to delete a remote task. + 2) when attempting to start a remote task. + 3) when attempting to restart a remote task. + + i. Verifies that a remote task's registers can be set and read. diff --git a/testsuites/mptests/mp02/node1/mp02-node1.scn b/testsuites/mptests/mp02/node1/mp02-node1.scn new file mode 100644 index 0000000000..72fdefe69d --- /dev/null +++ b/testsuites/mptests/mp02/node1/mp02-node1.scn @@ -0,0 +1,14 @@ +*** TEST 2 -- NODE 1 *** +Creating Test_task (Global) +Starting Test_task (Global) +Deleting initialization task +Remote task's name is : 222 +Getting TID of remote task (all nodes) +Getting TID of remote task (1 node) +rtems_task_delete of remote task returned the correct error +rtems_task_start of remote task returned the correct error +rtems_task_restart of remote task returned the correct error +Setting notepad 1 of the remote task to 1 +Getting a notepad of the remote task +Remote notepad set and read correctly +*** END OF TEST 2 *** diff --git a/testsuites/mptests/mp02/node2/mp02-node2.doc b/testsuites/mptests/mp02/node2/mp02-node2.doc new file mode 100644 index 0000000000..5c0baceb8d --- /dev/null +++ b/testsuites/mptests/mp02/node2/mp02-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/mp02/node2/mp02-node2.scn b/testsuites/mptests/mp02/node2/mp02-node2.scn new file mode 100644 index 0000000000..233a910999 --- /dev/null +++ b/testsuites/mptests/mp02/node2/mp02-node2.scn @@ -0,0 +1,14 @@ +*** TEST 2 -- NODE 2 *** +Creating Test_task (Global) +Starting Test_task (Global) +Deleting initialization task +Remote task's name is : 111 +Getting TID of remote task (all nodes) +Getting TID of remote task (1 node) +rtems_task_delete of remote task returned the correct error +rtems_task_start of remote task returned the correct error +rtems_task_restart of remote task returned the correct error +Setting notepad 2 of the remote task to 2 +Getting a notepad of the remote task +Remote notepad set and read correctly +*** END OF TEST 2 *** |