From 945f59015ab0e0932fe725c010da88d10724d33e Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 10 Nov 2005 18:22:03 +0000 Subject: New. --- testsuites/mptests/mp08/node1/mp08-node1.doc | 51 ++++++++++++++++++++++++++++ testsuites/mptests/mp08/node1/mp08-node1.scn | 11 ++++++ testsuites/mptests/mp08/node2/mp08-node2.doc | 12 +++++++ testsuites/mptests/mp08/node2/mp08-node2.scn | 12 +++++++ 4 files changed, 86 insertions(+) create mode 100644 testsuites/mptests/mp08/node1/mp08-node1.doc create mode 100644 testsuites/mptests/mp08/node1/mp08-node1.scn create mode 100644 testsuites/mptests/mp08/node2/mp08-node2.doc create mode 100644 testsuites/mptests/mp08/node2/mp08-node2.scn (limited to 'testsuites/mptests/mp08') diff --git a/testsuites/mptests/mp08/node1/mp08-node1.doc b/testsuites/mptests/mp08/node1/mp08-node1.doc new file mode 100644 index 0000000000..a111dd27b9 --- /dev/null +++ b/testsuites/mptests/mp08/node1/mp08-node1.doc @@ -0,0 +1,51 @@ +# +# $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: test57 + +GLOBAL SEMAPHORE TEST + +directives: + ex_init, ex_start, t_create, t_start, tm_tick, i_return, t_ident, + sm_create, sm_ident, sm_p, sm_v, sm_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 identification number of + a global sempahore. + + h. Verifies that two tasks on different processors can + alternate accessing a semaphore. + + i. Verifies operation of sm_delete on global semaphores + for both normal and error case. + + j. Verifies Rpc and Process_pkt for packet types Q_SMP, Q_SMV, + P_OBJCREATE (semaphore), P_OBJDELETE (semaphore), P_SMDEL_TQ. + diff --git a/testsuites/mptests/mp08/node1/mp08-node1.scn b/testsuites/mptests/mp08/node1/mp08-node1.scn new file mode 100644 index 0000000000..cde263420c --- /dev/null +++ b/testsuites/mptests/mp08/node1/mp08-node1.scn @@ -0,0 +1,11 @@ +*** TEST 8 -- NODE 1 *** +Creating Test_task (Global) +Starting Test_task (Global) +Deleting initialization task +Getting SMID of semaphore +pvpvpvpvpvp....... +(continued) pvp + +Deleting global semaphore +*** END OF TEST 8 *** + diff --git a/testsuites/mptests/mp08/node2/mp08-node2.doc b/testsuites/mptests/mp08/node2/mp08-node2.doc new file mode 100644 index 0000000000..5c0baceb8d --- /dev/null +++ b/testsuites/mptests/mp08/node2/mp08-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/mp08/node2/mp08-node2.scn b/testsuites/mptests/mp08/node2/mp08-node2.scn new file mode 100644 index 0000000000..5a613f45e5 --- /dev/null +++ b/testsuites/mptests/mp08/node2/mp08-node2.scn @@ -0,0 +1,12 @@ +*** TEST 8 -- NODE 2 *** +Creating Test_task (Global) +Starting Test_task (Global) +Deleting initialization task +Getting SMID of semaphore +rtems_semaphore_delete correctly returned RTEMS_ILLEGAL_ON_REMOTE_OBJECT +pvpvpvpvpvp....... +(continued) pvp + +Global semaphore deleted +*** END OF TEST 8 *** + -- cgit v1.2.3