summaryrefslogtreecommitdiffstats
path: root/testsuites/mptests/mp14
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-11-10 18:22:03 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-11-10 18:22:03 +0000
commit945f59015ab0e0932fe725c010da88d10724d33e (patch)
tree4e944e9ca3ca5032ce5ea991d449b7e248a56fb7 /testsuites/mptests/mp14
parentRemoved (Renamed to *-node<N>.*). (diff)
downloadrtems-945f59015ab0e0932fe725c010da88d10724d33e.tar.bz2
New.
Diffstat (limited to 'testsuites/mptests/mp14')
-rw-r--r--testsuites/mptests/mp14/node1/mp14-node1.doc49
-rw-r--r--testsuites/mptests/mp14/node1/mp14-node1.scn41
-rw-r--r--testsuites/mptests/mp14/node2/mp14-node2.doc12
-rw-r--r--testsuites/mptests/mp14/node2/mp14-node2.scn38
4 files changed, 140 insertions, 0 deletions
diff --git a/testsuites/mptests/mp14/node1/mp14-node1.doc b/testsuites/mptests/mp14/node1/mp14-node1.doc
new file mode 100644
index 0000000000..705b1df9d4
--- /dev/null
+++ b/testsuites/mptests/mp14/node1/mp14-node1.doc
@@ -0,0 +1,49 @@
+#
+# $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: test63
+
+INTERRUPT SATURATION TEST
+
+directives:
+ ex_init, ex_start, t_create, t_start, t_ident, tm_tick,
+ tm_evwhen, tm_wkafter, i_return, ev_send, ev_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 printing of strings to the CRT on port 2 of the mvme136 board
+ using Print and Println in the board support package.
+
+ d. Verifies printing of strings to the CRT on port 2 of the mvme136 board
+ using Write and Writeln and the TTY driver.
+
+ e. Verifies interrupt handler can handler a task switch from an interrupt
+ as specified with the i_return directive.
+
+ f. Verifies executive initialization performed correctly.
+
+ g. Verifies the executive trap handler except for the halt function.
+
+ h. Verifies that a task can get the task identification number of itself.
+
+ i. Verifies that a task can get the task identification number
+ of another task.
+
+ j. Verifies that events can be sent to a remote task.
diff --git a/testsuites/mptests/mp14/node1/mp14-node1.scn b/testsuites/mptests/mp14/node1/mp14-node1.scn
new file mode 100644
index 0000000000..f57c4f47b3
--- /dev/null
+++ b/testsuites/mptests/mp14/node1/mp14-node1.scn
@@ -0,0 +1,41 @@
+*** TEST 14 -- NODE 1 ***
+Creating Semaphore (Global)
+Creating Message Queue (Global)
+Creating Partition (Global)
+Creating Event task (Global)
+Starting Event task (Global)
+Creating Semaphore task (Global)
+About to go to sleep!
+Starting Semaphore task (Global)
+Creating Message Queue task (Global)
+Getting SMID of semaphore
+Starting Message Queue task (Global)
+Creating Partition task (Global)
+Getting ID of msg queue
+Starting Partition task (Global)
+Getting ID of partition
+Waking up!
+Remote task's name is : 222
+Getting TID of remote task
+Sending events to remote task
+<stream of following characters>
+
+. - indicates 100 iterations of
+ tm_evafter of 1 tick and rtems_event_receive.
+
+e - indicates that 100
+ events have been sent to the remote task.
+
+m - indicates 100 iterations of
+ rtems_message_queue_send and rtems_message_queue_receive.
+
+p - indicates 100 iterations of
+ rtems_partition_get_buffer and rtems_partition_return_buffer.
+
+s - indicates 100 iterations of
+ rtems_semaphore_obtain and rtems_semaphore_release.
+
+NOTES: 1. The messages could be interspersed.
+ 2. If one of the nodes exits first, the other may report
+ timeout errors on blocking directives.
+
diff --git a/testsuites/mptests/mp14/node2/mp14-node2.doc b/testsuites/mptests/mp14/node2/mp14-node2.doc
new file mode 100644
index 0000000000..5c0baceb8d
--- /dev/null
+++ b/testsuites/mptests/mp14/node2/mp14-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/mp14/node2/mp14-node2.scn b/testsuites/mptests/mp14/node2/mp14-node2.scn
new file mode 100644
index 0000000000..d128c870e9
--- /dev/null
+++ b/testsuites/mptests/mp14/node2/mp14-node2.scn
@@ -0,0 +1,38 @@
+*** TEST 14 -- NODE 2 ***
+Creating Event task (Global)
+Starting Event task (Global)
+Creating Semaphore task (Global)
+About to go to sleep!
+Starting Semaphore task (Global)
+Creating Message Queue task (Global)
+Getting SMID of semaphore
+Starting Message Queue task (Global)
+Creating Partition task (Global)
+Getting ID of msg queue
+Starting Partition task (Global)
+Getting ID of partition
+Waking up!
+Remote task's name is : 111
+Getting TID of remote task
+Receiving events from remote task
+<stream of following characters>
+
+. - indicates 100 iterations of
+ tm_evafter of 1 tick and rtems_event_receive.
+
+e - indicates that 100
+ events have been sent to the remote task.
+
+m - indicates 100 iterations of
+ rtems_message_queue_send and rtems_message_queue_receive.
+
+p - indicates 100 iterations of
+ rtems_partition_get_buffer and rtems_partition_return_buffer.
+
+s - indicates 100 iterations of
+ rtems_semaphore_obtain and rtems_semaphore_release.
+
+NOTES: 1. The messages could be interspersed.
+ 2. If one of the nodes exits first, the other may report
+ timeout errors on blocking directives.
+