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/mp13 | |
parent | Removed (Renamed to *-node<N>.*). (diff) | |
download | rtems-945f59015ab0e0932fe725c010da88d10724d33e.tar.bz2 |
New.
Diffstat (limited to 'testsuites/mptests/mp13')
-rw-r--r-- | testsuites/mptests/mp13/node1/mp13-node1.doc | 47 | ||||
-rw-r--r-- | testsuites/mptests/mp13/node1/mp13-node1.scn | 14 | ||||
-rw-r--r-- | testsuites/mptests/mp13/node2/mp13-node2.doc | 12 | ||||
-rw-r--r-- | testsuites/mptests/mp13/node2/mp13-node2.scn | 16 |
4 files changed, 89 insertions, 0 deletions
diff --git a/testsuites/mptests/mp13/node1/mp13-node1.doc b/testsuites/mptests/mp13/node1/mp13-node1.doc new file mode 100644 index 0000000000..ec6d0aa085 --- /dev/null +++ b/testsuites/mptests/mp13/node1/mp13-node1.doc @@ -0,0 +1,47 @@ +# +# $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: test62 + +GLOBAL SEMAPHORE TEST + +directives: + ex_init, ex_start, t_create, t_start, tm_tick, i_return, tm_wkafter, + sm_create, q_create, sm_p, q_receive + +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 the Shared Memory Locked Queue Driver. + + h. Verifies that E_MESSAGETIMEOUT is when waiting on a + remote message queue. + + i. Verifies that E_SEMTIMEOUT is when waiting on a remote semaphore. + + j. Verifies that a task can delete itself. diff --git a/testsuites/mptests/mp13/node1/mp13-node1.scn b/testsuites/mptests/mp13/node1/mp13-node1.scn new file mode 100644 index 0000000000..d3bd11f65e --- /dev/null +++ b/testsuites/mptests/mp13/node1/mp13-node1.scn @@ -0,0 +1,14 @@ +*** TEST 13 -- NODE 1 *** +Creating Message Queue (Global) +Creating Semaphore (Global) +Creating Test_task 1 (local) +Starting Test_task 1 (local) +Creating Test_task 2 (local) +Starting Test_task 2 (local) +Getting QID of message queue +Receiving message ... +Getting SMID of semaphore +Releasing semaphore ... +Getting semaphore ... +Getting semaphore ... +*** END OF TEST 13 *** diff --git a/testsuites/mptests/mp13/node2/mp13-node2.doc b/testsuites/mptests/mp13/node2/mp13-node2.doc new file mode 100644 index 0000000000..5c0baceb8d --- /dev/null +++ b/testsuites/mptests/mp13/node2/mp13-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/mp13/node2/mp13-node2.scn b/testsuites/mptests/mp13/node2/mp13-node2.scn new file mode 100644 index 0000000000..e9df202a94 --- /dev/null +++ b/testsuites/mptests/mp13/node2/mp13-node2.scn @@ -0,0 +1,16 @@ +*** TEST 13 -- NODE 2 *** +Creating Test_task 1 (local) +Starting Test_task 1 (local) +Creating Test_task 2 (local) +Starting Test_task 2 (local) +Deleting initialization task +Getting QID of message queue +Getting SMID of semaphore +Getting semaphore ... +Receiving message ... +Releasing semaphore ... +Getting semaphore ... +rtems_message_queue_receive correctly returned RTEMS_TIMEOUT +Deleting self +rtems_semaphore_obtain correctly returned RTEMS_TIMEOUT +*** END OF TEST 13 *** |