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/mp01/node1/mp01-node1.doc | 52 ++++++++++++++++++++++++++++ testsuites/mptests/mp01/node1/mp01-node1.scn | 15 ++++++++ testsuites/mptests/mp01/node2/mp01-node2.doc | 12 +++++++ testsuites/mptests/mp01/node2/mp01-node2.scn | 15 ++++++++ testsuites/mptests/mp02/node1/mp02-node1.doc | 46 ++++++++++++++++++++++++ testsuites/mptests/mp02/node1/mp02-node1.scn | 14 ++++++++ testsuites/mptests/mp02/node2/mp02-node2.doc | 12 +++++++ testsuites/mptests/mp02/node2/mp02-node2.scn | 14 ++++++++ testsuites/mptests/mp03/node1/mp03-node1.doc | 44 +++++++++++++++++++++++ testsuites/mptests/mp03/node1/mp03-node1.scn | 24 +++++++++++++ testsuites/mptests/mp03/node2/mp03-node2.doc | 12 +++++++ testsuites/mptests/mp03/node2/mp03-node2.scn | 24 +++++++++++++ testsuites/mptests/mp04/node1/mp04-node1.doc | 40 +++++++++++++++++++++ testsuites/mptests/mp04/node1/mp04-node1.scn | 8 +++++ testsuites/mptests/mp04/node2/mp04-node2.doc | 12 +++++++ testsuites/mptests/mp04/node2/mp04-node2.scn | 8 +++++ testsuites/mptests/mp05/node1/mp05-node1.doc | 44 +++++++++++++++++++++++ testsuites/mptests/mp05/node1/mp05-node1.scn | 11 ++++++ testsuites/mptests/mp05/node2/mp05-node2.doc | 12 +++++++ testsuites/mptests/mp05/node2/mp05-node2.scn | 10 ++++++ testsuites/mptests/mp06/node1/mp06-node1.doc | 44 +++++++++++++++++++++++ testsuites/mptests/mp06/node1/mp06-node1.scn | 11 ++++++ testsuites/mptests/mp06/node2/mp06-node2.doc | 12 +++++++ testsuites/mptests/mp06/node2/mp06-node2.scn | 12 +++++++ testsuites/mptests/mp07/node1/mp07-node1.doc | 45 ++++++++++++++++++++++++ testsuites/mptests/mp07/node1/mp07-node1.scn | 10 ++++++ testsuites/mptests/mp07/node2/mp07-node2.doc | 12 +++++++ testsuites/mptests/mp07/node2/mp07-node2.scn | 9 +++++ 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 +++++++ testsuites/mptests/mp09/node1/mp09-node1.doc | 49 ++++++++++++++++++++++++++ testsuites/mptests/mp09/node1/mp09-node1.scn | 22 ++++++++++++ testsuites/mptests/mp09/node2/mp09-node2.doc | 12 +++++++ testsuites/mptests/mp09/node2/mp09-node2.scn | 27 +++++++++++++++ testsuites/mptests/mp10/node1/mp10-node1.doc | 45 ++++++++++++++++++++++++ testsuites/mptests/mp10/node1/mp10-node1.scn | 4 +++ testsuites/mptests/mp10/node2/mp10-node2.doc | 12 +++++++ testsuites/mptests/mp10/node2/mp10-node2.scn | 19 ++++++++++ testsuites/mptests/mp11/node1/mp11-node1.doc | 41 ++++++++++++++++++++++ testsuites/mptests/mp11/node1/mp11-node1.scn | 10 ++++++ testsuites/mptests/mp11/node2/mp11-node2.doc | 12 +++++++ testsuites/mptests/mp11/node2/mp11-node2.scn | 2 ++ testsuites/mptests/mp12/node1/mp12-node1.doc | 51 +++++++++++++++++++++++++++ testsuites/mptests/mp12/node1/mp12-node1.scn | 6 ++++ testsuites/mptests/mp12/node2/mp12-node2.doc | 12 +++++++ testsuites/mptests/mp12/node2/mp12-node2.scn | 10 ++++++ testsuites/mptests/mp13/node1/mp13-node1.doc | 47 +++++++++++++++++++++++++ testsuites/mptests/mp13/node1/mp13-node1.scn | 14 ++++++++ testsuites/mptests/mp13/node2/mp13-node2.doc | 12 +++++++ testsuites/mptests/mp13/node2/mp13-node2.scn | 16 +++++++++ testsuites/mptests/mp14/node1/mp14-node1.doc | 49 ++++++++++++++++++++++++++ testsuites/mptests/mp14/node1/mp14-node1.scn | 41 ++++++++++++++++++++++ testsuites/mptests/mp14/node2/mp14-node2.doc | 12 +++++++ testsuites/mptests/mp14/node2/mp14-node2.scn | 38 ++++++++++++++++++++ 56 files changed, 1233 insertions(+) create mode 100644 testsuites/mptests/mp01/node1/mp01-node1.doc create mode 100644 testsuites/mptests/mp01/node1/mp01-node1.scn create mode 100644 testsuites/mptests/mp01/node2/mp01-node2.doc create mode 100644 testsuites/mptests/mp01/node2/mp01-node2.scn create mode 100644 testsuites/mptests/mp02/node1/mp02-node1.doc create mode 100644 testsuites/mptests/mp02/node1/mp02-node1.scn create mode 100644 testsuites/mptests/mp02/node2/mp02-node2.doc create mode 100644 testsuites/mptests/mp02/node2/mp02-node2.scn create mode 100644 testsuites/mptests/mp03/node1/mp03-node1.doc create mode 100644 testsuites/mptests/mp03/node1/mp03-node1.scn create mode 100644 testsuites/mptests/mp03/node2/mp03-node2.doc create mode 100644 testsuites/mptests/mp03/node2/mp03-node2.scn create mode 100644 testsuites/mptests/mp04/node1/mp04-node1.doc create mode 100644 testsuites/mptests/mp04/node1/mp04-node1.scn create mode 100644 testsuites/mptests/mp04/node2/mp04-node2.doc create mode 100644 testsuites/mptests/mp04/node2/mp04-node2.scn create mode 100644 testsuites/mptests/mp05/node1/mp05-node1.doc create mode 100644 testsuites/mptests/mp05/node1/mp05-node1.scn create mode 100644 testsuites/mptests/mp05/node2/mp05-node2.doc create mode 100644 testsuites/mptests/mp05/node2/mp05-node2.scn create mode 100644 testsuites/mptests/mp06/node1/mp06-node1.doc create mode 100644 testsuites/mptests/mp06/node1/mp06-node1.scn create mode 100644 testsuites/mptests/mp06/node2/mp06-node2.doc create mode 100644 testsuites/mptests/mp06/node2/mp06-node2.scn create mode 100644 testsuites/mptests/mp07/node1/mp07-node1.doc create mode 100644 testsuites/mptests/mp07/node1/mp07-node1.scn create mode 100644 testsuites/mptests/mp07/node2/mp07-node2.doc create mode 100644 testsuites/mptests/mp07/node2/mp07-node2.scn 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 create mode 100644 testsuites/mptests/mp09/node1/mp09-node1.doc create mode 100644 testsuites/mptests/mp09/node1/mp09-node1.scn create mode 100644 testsuites/mptests/mp09/node2/mp09-node2.doc create mode 100644 testsuites/mptests/mp09/node2/mp09-node2.scn create mode 100644 testsuites/mptests/mp10/node1/mp10-node1.doc create mode 100644 testsuites/mptests/mp10/node1/mp10-node1.scn create mode 100644 testsuites/mptests/mp10/node2/mp10-node2.doc create mode 100644 testsuites/mptests/mp10/node2/mp10-node2.scn create mode 100644 testsuites/mptests/mp11/node1/mp11-node1.doc create mode 100644 testsuites/mptests/mp11/node1/mp11-node1.scn create mode 100644 testsuites/mptests/mp11/node2/mp11-node2.doc create mode 100644 testsuites/mptests/mp11/node2/mp11-node2.scn create mode 100644 testsuites/mptests/mp12/node1/mp12-node1.doc create mode 100644 testsuites/mptests/mp12/node1/mp12-node1.scn create mode 100644 testsuites/mptests/mp12/node2/mp12-node2.doc create mode 100644 testsuites/mptests/mp12/node2/mp12-node2.scn create mode 100644 testsuites/mptests/mp13/node1/mp13-node1.doc create mode 100644 testsuites/mptests/mp13/node1/mp13-node1.scn create mode 100644 testsuites/mptests/mp13/node2/mp13-node2.doc create mode 100644 testsuites/mptests/mp13/node2/mp13-node2.scn create mode 100644 testsuites/mptests/mp14/node1/mp14-node1.doc create mode 100644 testsuites/mptests/mp14/node1/mp14-node1.scn create mode 100644 testsuites/mptests/mp14/node2/mp14-node2.doc create mode 100644 testsuites/mptests/mp14/node2/mp14-node2.scn 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 *** 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 *** diff --git a/testsuites/mptests/mp03/node1/mp03-node1.doc b/testsuites/mptests/mp03/node1/mp03-node1.doc new file mode 100644 index 0000000000..77b1d3a40d --- /dev/null +++ b/testsuites/mptests/mp03/node1/mp03-node1.doc @@ -0,0 +1,44 @@ +# +# $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: test52 + +directives: + ex_init, ex_start, t_create, t_start, tm_tick, i_return, t_ident, + tm_wkafter, t_suspend, t_resume + +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 another task (on another node). + + i. Verifies that a task can suspend and resume a remote task. diff --git a/testsuites/mptests/mp03/node1/mp03-node1.scn b/testsuites/mptests/mp03/node1/mp03-node1.scn new file mode 100644 index 0000000000..129e5bccba --- /dev/null +++ b/testsuites/mptests/mp03/node1/mp03-node1.scn @@ -0,0 +1,24 @@ +*** TEST 3 -- NODE 1 *** +Creating Test_task (Global) +Starting Test_task (Global) +Deleting initialization task +Getting TID of remote task +Remote task's name is : 222 +111 - Suspending remote task +111 - Resuming remote task +111 - Suspending remote task +111 - Resuming remote task +111 - Suspending remote task +111 - Resuming remote task +111 - Have I been suspended????? +111 - Have I been suspended????? +111 - Have I been suspended????? +111 - Have I been suspended????? + + ........ + +111 - Have I been suspended????? +111 - Have I been suspended????? +111 - Have I been suspended????? +111 - Have I been suspended????? +*** END OF TEST 3 *** diff --git a/testsuites/mptests/mp03/node2/mp03-node2.doc b/testsuites/mptests/mp03/node2/mp03-node2.doc new file mode 100644 index 0000000000..5c0baceb8d --- /dev/null +++ b/testsuites/mptests/mp03/node2/mp03-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/mp03/node2/mp03-node2.scn b/testsuites/mptests/mp03/node2/mp03-node2.scn new file mode 100644 index 0000000000..d77c09e9f7 --- /dev/null +++ b/testsuites/mptests/mp03/node2/mp03-node2.scn @@ -0,0 +1,24 @@ +*** TEST 3 -- NODE 2 *** +Creating Test_task (Global) +Starting Test_task (Global) +Deleting initialization task +Getting TID of remote task +Remote task's name is : 111 +222 - Have I been suspended????? +222 - Have I been suspended????? +222 - Have I been suspended????? +222 - Have I been suspended????? + + ........ + +222 - Have I been suspended????? +222 - Have I been suspended????? +222 - Have I been suspended????? +222 - Have I been suspended????? +222 - Suspending remote task +222 - Resuming remote task +222 - Suspending remote task +222 - Resuming remote task +222 - Suspending remote task +222 - Resuming remote task +*** END OF TEST 3 *** diff --git a/testsuites/mptests/mp04/node1/mp04-node1.doc b/testsuites/mptests/mp04/node1/mp04-node1.doc new file mode 100644 index 0000000000..b5a649cba7 --- /dev/null +++ b/testsuites/mptests/mp04/node1/mp04-node1.doc @@ -0,0 +1,40 @@ +# +# $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: test53 + +directives: + ex_init, ex_start, t_create, t_start, i_return, t_ident, tm_get, + tm_wkafter, tm_setpri + +concepts: + + a. Verifies system can create and start both the executive's system + initialization and idle task. + + b. Verifies that the system can get the id of a remote task. + + c. Verifies that the system can change the priority of a remote + task. + + 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 delete itself or another task. diff --git a/testsuites/mptests/mp04/node1/mp04-node1.scn b/testsuites/mptests/mp04/node1/mp04-node1.scn new file mode 100644 index 0000000000..e9518f3ac2 --- /dev/null +++ b/testsuites/mptests/mp04/node1/mp04-node1.scn @@ -0,0 +1,8 @@ +*** TEST 4 -- NODE 1 *** +Creating Test_task (Global) +Starting Test_task (Global) +Deleting initialization task +Getting TID of remote task +Remote task's name is : 222 +Local task priority has been set +*** END OF TEST 4 *** diff --git a/testsuites/mptests/mp04/node2/mp04-node2.doc b/testsuites/mptests/mp04/node2/mp04-node2.doc new file mode 100644 index 0000000000..5c0baceb8d --- /dev/null +++ b/testsuites/mptests/mp04/node2/mp04-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/mp04/node2/mp04-node2.scn b/testsuites/mptests/mp04/node2/mp04-node2.scn new file mode 100644 index 0000000000..8ccfcfef79 --- /dev/null +++ b/testsuites/mptests/mp04/node2/mp04-node2.scn @@ -0,0 +1,8 @@ +*** TEST 4 -- NODE 2 *** +Creating Test_task (Global) +Starting Test_task (Global) +Deleting initialization task +Getting TID of remote task +Remote task's name is : 111 +Local task priority has been set +*** END OF TEST 4 *** diff --git a/testsuites/mptests/mp05/node1/mp05-node1.doc b/testsuites/mptests/mp05/node1/mp05-node1.doc new file mode 100644 index 0000000000..4760e01fcf --- /dev/null +++ b/testsuites/mptests/mp05/node1/mp05-node1.doc @@ -0,0 +1,44 @@ +# +# $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: test54 + +directives: + ex_init, ex_start, t_create, t_start, tm_tick, i_return, t_ident, + tm_wkafter, as_catch, as_return + +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 another task. + + i. Verifies that a signal can be sent to a remote task. diff --git a/testsuites/mptests/mp05/node1/mp05-node1.scn b/testsuites/mptests/mp05/node1/mp05-node1.scn new file mode 100644 index 0000000000..472740ba18 --- /dev/null +++ b/testsuites/mptests/mp05/node1/mp05-node1.scn @@ -0,0 +1,11 @@ +*** TEST 5 -- NODE 1 *** +Creating Test_task (Global) +Starting Test_task (Global) +Deleting initialization task +rtems_signal_catch: initializing signal catcher +Remote task's name is : 222 +Getting TID of remote task +Sending signal to remote task +.................................................... +.................................................... +*** END OF TEST 5 *** diff --git a/testsuites/mptests/mp05/node2/mp05-node2.doc b/testsuites/mptests/mp05/node2/mp05-node2.doc new file mode 100644 index 0000000000..5c0baceb8d --- /dev/null +++ b/testsuites/mptests/mp05/node2/mp05-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/mp05/node2/mp05-node2.scn b/testsuites/mptests/mp05/node2/mp05-node2.scn new file mode 100644 index 0000000000..0c4b412f65 --- /dev/null +++ b/testsuites/mptests/mp05/node2/mp05-node2.scn @@ -0,0 +1,10 @@ +*** TEST 5 -- NODE 2 *** +Creating Test_task (Global) +Starting Test_task (Global) +Deleting initialization task +rtems_signal_catch: initializing signal catcher +Remote task's name is : 111 +Getting TID of remote task +.................................................... +.................................................... +*** END OF TEST 5 *** diff --git a/testsuites/mptests/mp06/node1/mp06-node1.doc b/testsuites/mptests/mp06/node1/mp06-node1.doc new file mode 100644 index 0000000000..1460e2cfe4 --- /dev/null +++ b/testsuites/mptests/mp06/node1/mp06-node1.doc @@ -0,0 +1,44 @@ +# +# $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: test55 + +directives: + ex_init, ex_start, t_create, t_start, tm_tick, i_return, t_ident, + 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 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 another task. + + i. Verifies that events can be sent to a remote task. diff --git a/testsuites/mptests/mp06/node1/mp06-node1.scn b/testsuites/mptests/mp06/node1/mp06-node1.scn new file mode 100644 index 0000000000..592777e5d7 --- /dev/null +++ b/testsuites/mptests/mp06/node1/mp06-node1.scn @@ -0,0 +1,11 @@ +*** TEST 6 -- NODE 1 *** +Creating Test_task (Global) +Starting Test_task (Global) +Deleting initialization task +Remote task's name is : 222 +Getting TID of remote task +Sending events to remote task +.................................................... +.................................................... +*** END OF TEST 6 *** + diff --git a/testsuites/mptests/mp06/node2/mp06-node2.doc b/testsuites/mptests/mp06/node2/mp06-node2.doc new file mode 100644 index 0000000000..5c0baceb8d --- /dev/null +++ b/testsuites/mptests/mp06/node2/mp06-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/mp06/node2/mp06-node2.scn b/testsuites/mptests/mp06/node2/mp06-node2.scn new file mode 100644 index 0000000000..9cb653c2f3 --- /dev/null +++ b/testsuites/mptests/mp06/node2/mp06-node2.scn @@ -0,0 +1,12 @@ +*** TEST 6 -- NODE 2 *** +Creating Test_task (Global) +Starting Test_task (Global) +Deleting initialization task +Remote task's name is : 111 +Getting TID of remote task +Receiving events from remote task +.................................................... +.................................................... +rtems_event_receive - correctly returned RTEMS_TIMEOUT +*** END OF TEST 6 *** + diff --git a/testsuites/mptests/mp07/node1/mp07-node1.doc b/testsuites/mptests/mp07/node1/mp07-node1.doc new file mode 100644 index 0000000000..13f51cf5a6 --- /dev/null +++ b/testsuites/mptests/mp07/node1/mp07-node1.doc @@ -0,0 +1,45 @@ +# +# $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: test56 + +directives: + ex_init, ex_start, t_create, t_start, tm_tick, i_return, t_ident, + 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 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 another task. + + i. Verifies that two tasks on different processors can alternate + sending each other events. diff --git a/testsuites/mptests/mp07/node1/mp07-node1.scn b/testsuites/mptests/mp07/node1/mp07-node1.scn new file mode 100644 index 0000000000..d348f48612 --- /dev/null +++ b/testsuites/mptests/mp07/node1/mp07-node1.scn @@ -0,0 +1,10 @@ +*** TEST 7 -- NODE 1 *** +Creating Test_task (Global) +Starting Test_task (Global) +Deleting initialization task +Remote task's name is : 222 +Getting TID of remote task +Sending first event to remote task +.................................................... +.................................................... +*** END OF TEST 7 *** diff --git a/testsuites/mptests/mp07/node2/mp07-node2.doc b/testsuites/mptests/mp07/node2/mp07-node2.doc new file mode 100644 index 0000000000..5c0baceb8d --- /dev/null +++ b/testsuites/mptests/mp07/node2/mp07-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/mp07/node2/mp07-node2.scn b/testsuites/mptests/mp07/node2/mp07-node2.scn new file mode 100644 index 0000000000..9e361d713c --- /dev/null +++ b/testsuites/mptests/mp07/node2/mp07-node2.scn @@ -0,0 +1,9 @@ +*** TEST 7 -- NODE 2 *** +Creating Test_task (Global) +Starting Test_task (Global) +Deleting initialization task +Remote task's name is : 111 +Getting TID of remote task +.................................................... +.................................................... +*** END OF TEST 7 *** 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 *** + diff --git a/testsuites/mptests/mp09/node1/mp09-node1.doc b/testsuites/mptests/mp09/node1/mp09-node1.doc new file mode 100644 index 0000000000..1c8a7be71d --- /dev/null +++ b/testsuites/mptests/mp09/node1/mp09-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: test58 + +GLOBAL MESSAGE QUEUE TEST + +directives: + ex_init, ex_start, t_create, t_start, tm_tick, i_return, + tm_wkafter, q_create, q_send, q_broadcast, q_urgent, q_receive, + q_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 delete itself. + + i. Verifies Rpc and Process_pkt for message queue related packets. + + j. Verifies normal and error paths for global message queue handling. + +NOTE: The SLAVE must be started first for this test to successfully run. diff --git a/testsuites/mptests/mp09/node1/mp09-node1.scn b/testsuites/mptests/mp09/node1/mp09-node1.scn new file mode 100644 index 0000000000..74cf06904d --- /dev/null +++ b/testsuites/mptests/mp09/node1/mp09-node1.scn @@ -0,0 +1,22 @@ +*** TEST 9 -- NODE 1 *** +Creating Message Queue (Global) +Creating Test_task (local) +Starting Test_task (local) +Deleting initialization task +Getting QID of message queue +Receiving message ... +Received : 123456789012345 +Receiving message ... +Received : abcdefghijklmno +Receiving message ... +Received : ABCDEFGHIJKLMNO +Receiver delaying for a second +rtems_message_queue_send: 123456789012345 +Delaying for a second +rtems_message_queue_urgent: abcdefghijklmno +Delaying for a second +rtems_message_queue_broadcast: ABCDEFGHIJKLMNO +Delaying for a second +Delaying for 5 seconds +Deleting Message queue +*** END OF TEST 9 *** diff --git a/testsuites/mptests/mp09/node2/mp09-node2.doc b/testsuites/mptests/mp09/node2/mp09-node2.doc new file mode 100644 index 0000000000..5c0baceb8d --- /dev/null +++ b/testsuites/mptests/mp09/node2/mp09-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/mp09/node2/mp09-node2.scn b/testsuites/mptests/mp09/node2/mp09-node2.scn new file mode 100644 index 0000000000..1bd17cecd9 --- /dev/null +++ b/testsuites/mptests/mp09/node2/mp09-node2.scn @@ -0,0 +1,27 @@ +*** TEST 9 -- NODE 2 *** +Creating Test_task (local) +Starting Test_task (local) +Deleting initialization task +Getting QID of message queue +rtems_message_queue_delete correctly returned RTEMS_ILLEGAL_ON_REMOTE_OBJECT +rtems_message_queue_send: 123456789012345 +Delaying for a second +rtems_message_queue_urgent: abcdefghijklmno +Delaying for a second +rtems_message_queue_broadcast: ABCDEFGHIJKLMNO +Delaying for a second +Receiving message ... +Received : 123456789012345 +Receiving message ... +Received : abcdefghijklmno +Receiving message ... +Received : ABCDEFGHIJKLMNO +Receiver delaying for a second +Flushing remote empty queue +0 messages were flushed on the remote queue +Send messages to be flushed from remote queue +Flushing remote queue +1 messages were flushed on the remote queue +Waiting for message queue to be deleted +Global message queue deleted +*** END OF TEST 9 *** diff --git a/testsuites/mptests/mp10/node1/mp10-node1.doc b/testsuites/mptests/mp10/node1/mp10-node1.doc new file mode 100644 index 0000000000..482c6a90c3 --- /dev/null +++ b/testsuites/mptests/mp10/node1/mp10-node1.doc @@ -0,0 +1,45 @@ +# +# $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: test59 + +GLOBAL SEMAPHORE TEST + +directives: + ex_init, ex_start, t_create, t_start, tm_tick, i_return, t_ident, + tm_set, tm_get, tm_wkafter + +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 another task. + + i. Verifies that a task can delete itself or another task. diff --git a/testsuites/mptests/mp10/node1/mp10-node1.scn b/testsuites/mptests/mp10/node1/mp10-node1.scn new file mode 100644 index 0000000000..deeafc0a9a --- /dev/null +++ b/testsuites/mptests/mp10/node1/mp10-node1.scn @@ -0,0 +1,4 @@ +*** TEST 10 -- NODE 1 *** +Creating Message Queue (Global) +Creating Semaphore (Global) +*** END OF TEST 10 *** diff --git a/testsuites/mptests/mp10/node2/mp10-node2.doc b/testsuites/mptests/mp10/node2/mp10-node2.doc new file mode 100644 index 0000000000..5c0baceb8d --- /dev/null +++ b/testsuites/mptests/mp10/node2/mp10-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/mp10/node2/mp10-node2.scn b/testsuites/mptests/mp10/node2/mp10-node2.scn new file mode 100644 index 0000000000..25c07e6202 --- /dev/null +++ b/testsuites/mptests/mp10/node2/mp10-node2.scn @@ -0,0 +1,19 @@ +*** TEST 10 -- NODE 2 *** +Creating Test_task 1 (local) +Starting Test_task 1 (local) +Creating Test_task 2 (local) +Starting Test_task 2 (local) +Creating Test_task 3 (local) +Starting Test_task 3 (local) +Sleeping for 1 seconds ... +Getting QID of message queue +Attempting to receive message ... +Getting SMID of semaphore +Attempting to acquire semaphore ... +Getting SMID of semaphore +Attempting to acquire semaphore ... +Deleting Test_task2 +Deleting Test_task1 +Restarting Test_task3 +*** END OF TEST 10 *** + diff --git a/testsuites/mptests/mp11/node1/mp11-node1.doc b/testsuites/mptests/mp11/node1/mp11-node1.doc new file mode 100644 index 0000000000..bce6f410aa --- /dev/null +++ b/testsuites/mptests/mp11/node1/mp11-node1.doc @@ -0,0 +1,41 @@ +# +# $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: test60 + +TOO MANY GLOBAL OBJECTS ERROR TEST + +directives: + ex_init, ex_start, t_create, t_start, tm_tick, i_return, + t_create, q_create, sm_create, pt_create + +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 all object create directives correctly return + E_TOOMANYGOBJECTS. diff --git a/testsuites/mptests/mp11/node1/mp11-node1.scn b/testsuites/mptests/mp11/node1/mp11-node1.scn new file mode 100644 index 0000000000..fb26583852 --- /dev/null +++ b/testsuites/mptests/mp11/node1/mp11-node1.scn @@ -0,0 +1,10 @@ +*** TEST 11 -- NODE 1 *** +Attempting to create Test_task (Global) +rtems_task_create correctly returned RTEMS_TOO_MANY +Attempting to create Message Queue (Global) +rtems_message_queue_create correctly returned RTEMS_TOO_MANY +Attempting to create Semaphore (Global) +rtems_semaphore_create correctly returned RTEMS_TOO_MANY +Attempting to create Partition (Global) +rtems_partition_create correctly returned RTEMS_TOO_MANY +*** END OF TEST 11 *** diff --git a/testsuites/mptests/mp11/node2/mp11-node2.doc b/testsuites/mptests/mp11/node2/mp11-node2.doc new file mode 100644 index 0000000000..5c0baceb8d --- /dev/null +++ b/testsuites/mptests/mp11/node2/mp11-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/mp11/node2/mp11-node2.scn b/testsuites/mptests/mp11/node2/mp11-node2.scn new file mode 100644 index 0000000000..49bd8a3219 --- /dev/null +++ b/testsuites/mptests/mp11/node2/mp11-node2.scn @@ -0,0 +1,2 @@ +*** TEST 11 -- NODE 2 *** +*** END OF TEST 11 *** diff --git a/testsuites/mptests/mp12/node1/mp12-node1.doc b/testsuites/mptests/mp12/node1/mp12-node1.doc new file mode 100644 index 0000000000..a6d6ec5d58 --- /dev/null +++ b/testsuites/mptests/mp12/node1/mp12-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: test61 + +GLOBAL PARTITION TEST + +directives: + ex_init, ex_start, t_create, t_start, tm_tick, i_return, tm_wkafter, + pt_create, pt_delete, pt_getbuf, pt_retbuf + +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 _Rpc() and _Process_pkt() for the following packet types: + P_OBJCREATE (partitions), + P_OBJDELETE (partitions), + P_PTGETBUF, and + P_PTRETBUF. + + i. Verifies normal and error paths (other than E_TOOMANYGOBJECTS) + for global partitions. + + j. Verifies that a task can delete itself. diff --git a/testsuites/mptests/mp12/node1/mp12-node1.scn b/testsuites/mptests/mp12/node1/mp12-node1.scn new file mode 100644 index 0000000000..605a2c11db --- /dev/null +++ b/testsuites/mptests/mp12/node1/mp12-node1.scn @@ -0,0 +1,6 @@ +*** TEST 12 -- NODE 1 *** +Got to initialization task +Creating Partition (Global) +Sleeping for two seconds +Deleting Partition (Global) +*** END OF TEST 12 *** diff --git a/testsuites/mptests/mp12/node2/mp12-node2.doc b/testsuites/mptests/mp12/node2/mp12-node2.doc new file mode 100644 index 0000000000..5c0baceb8d --- /dev/null +++ b/testsuites/mptests/mp12/node2/mp12-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/mp12/node2/mp12-node2.scn b/testsuites/mptests/mp12/node2/mp12-node2.scn new file mode 100644 index 0000000000..ad65e9cb32 --- /dev/null +++ b/testsuites/mptests/mp12/node2/mp12-node2.scn @@ -0,0 +1,10 @@ +*** TEST 12 -- NODE 2 *** +Got to initialization task +Getting ID of remote Partition (Global) +Attempting to delete remote Partition (Global) +rtems_partition_delete correctly returned RTEMS_ILLEGAL_ON_REMOTE_OBJECT +Obtaining a buffer from the global partition +>>>>>>> address returned will differ +Address returned was : 0x200f0000 +Releasing a buffer to the global partition +*** END OF TEST 12 *** 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 *** 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 + + +. - 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 + + +. - 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. + -- cgit v1.2.3