From 3206879f06e7e74abe0593d53a67e6cccab4bd18 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Mon, 9 Apr 2018 13:41:08 +1000 Subject: testsuite/mptests: Merged nested Makefile.am files into one Makefile.am This change is part of the testsuite Makefile.am reorganization. Update #3382 --- testsuites/mptests/Makefile.am | 262 +++++++++++++++++++++++++-- testsuites/mptests/configure.ac | 58 ++---- testsuites/mptests/mp01/mp01-node1.doc | 49 +++++ testsuites/mptests/mp01/mp01-node1.scn | 15 ++ testsuites/mptests/mp01/mp01-node2.doc | 9 + testsuites/mptests/mp01/mp01-node2.scn | 15 ++ testsuites/mptests/mp01/node1/Makefile.am | 21 --- testsuites/mptests/mp01/node1/mp01-node1.doc | 49 ----- testsuites/mptests/mp01/node1/mp01-node1.scn | 15 -- testsuites/mptests/mp01/node2/Makefile.am | 22 --- testsuites/mptests/mp01/node2/mp01-node2.doc | 9 - testsuites/mptests/mp01/node2/mp01-node2.scn | 15 -- testsuites/mptests/mp03/mp03-node1.doc | 41 +++++ testsuites/mptests/mp03/mp03-node1.scn | 24 +++ testsuites/mptests/mp03/mp03-node2.doc | 9 + testsuites/mptests/mp03/mp03-node2.scn | 24 +++ testsuites/mptests/mp03/node1/Makefile.am | 22 --- testsuites/mptests/mp03/node1/mp03-node1.doc | 41 ----- testsuites/mptests/mp03/node1/mp03-node1.scn | 24 --- testsuites/mptests/mp03/node2/Makefile.am | 22 --- testsuites/mptests/mp03/node2/mp03-node2.doc | 9 - testsuites/mptests/mp03/node2/mp03-node2.scn | 24 --- testsuites/mptests/mp04/mp04-node1.doc | 37 ++++ testsuites/mptests/mp04/mp04-node1.scn | 8 + testsuites/mptests/mp04/mp04-node2.doc | 9 + testsuites/mptests/mp04/mp04-node2.scn | 8 + testsuites/mptests/mp04/node1/Makefile.am | 22 --- testsuites/mptests/mp04/node1/mp04-node1.doc | 37 ---- testsuites/mptests/mp04/node1/mp04-node1.scn | 8 - testsuites/mptests/mp04/node2/Makefile.am | 22 --- testsuites/mptests/mp04/node2/mp04-node2.doc | 9 - testsuites/mptests/mp04/node2/mp04-node2.scn | 8 - testsuites/mptests/mp05/mp05-node1.doc | 41 +++++ testsuites/mptests/mp05/mp05-node1.scn | 11 ++ testsuites/mptests/mp05/mp05-node2.doc | 9 + testsuites/mptests/mp05/mp05-node2.scn | 10 + testsuites/mptests/mp05/node1/Makefile.am | 22 --- testsuites/mptests/mp05/node1/mp05-node1.doc | 41 ----- testsuites/mptests/mp05/node1/mp05-node1.scn | 11 -- testsuites/mptests/mp05/node2/Makefile.am | 22 --- testsuites/mptests/mp05/node2/mp05-node2.doc | 9 - testsuites/mptests/mp05/node2/mp05-node2.scn | 10 - testsuites/mptests/mp06/mp06-node1.doc | 41 +++++ testsuites/mptests/mp06/mp06-node1.scn | 11 ++ testsuites/mptests/mp06/mp06-node2.doc | 9 + testsuites/mptests/mp06/mp06-node2.scn | 14 ++ testsuites/mptests/mp06/node1/Makefile.am | 22 --- testsuites/mptests/mp06/node1/mp06-node1.doc | 41 ----- testsuites/mptests/mp06/node1/mp06-node1.scn | 11 -- testsuites/mptests/mp06/node2/Makefile.am | 22 --- testsuites/mptests/mp06/node2/mp06-node2.doc | 9 - testsuites/mptests/mp06/node2/mp06-node2.scn | 14 -- testsuites/mptests/mp07/mp07-node1.doc | 42 +++++ testsuites/mptests/mp07/mp07-node1.scn | 10 + testsuites/mptests/mp07/mp07-node2.doc | 9 + testsuites/mptests/mp07/mp07-node2.scn | 9 + testsuites/mptests/mp07/node1/Makefile.am | 22 --- testsuites/mptests/mp07/node1/mp07-node1.doc | 42 ----- testsuites/mptests/mp07/node1/mp07-node1.scn | 10 - testsuites/mptests/mp07/node2/Makefile.am | 22 --- testsuites/mptests/mp07/node2/mp07-node2.doc | 9 - testsuites/mptests/mp07/node2/mp07-node2.scn | 9 - testsuites/mptests/mp08/mp08-node1.doc | 48 +++++ testsuites/mptests/mp08/mp08-node1.scn | 11 ++ testsuites/mptests/mp08/mp08-node2.doc | 9 + testsuites/mptests/mp08/mp08-node2.scn | 12 ++ testsuites/mptests/mp08/node1/Makefile.am | 22 --- testsuites/mptests/mp08/node1/mp08-node1.doc | 48 ----- testsuites/mptests/mp08/node1/mp08-node1.scn | 11 -- testsuites/mptests/mp08/node2/Makefile.am | 22 --- testsuites/mptests/mp08/node2/mp08-node2.doc | 9 - testsuites/mptests/mp08/node2/mp08-node2.scn | 12 -- testsuites/mptests/mp09/mp09-node1.doc | 46 +++++ testsuites/mptests/mp09/mp09-node1.scn | 22 +++ testsuites/mptests/mp09/mp09-node2.doc | 9 + testsuites/mptests/mp09/mp09-node2.scn | 27 +++ testsuites/mptests/mp09/node1/Makefile.am | 22 --- testsuites/mptests/mp09/node1/mp09-node1.doc | 46 ----- testsuites/mptests/mp09/node1/mp09-node1.scn | 22 --- testsuites/mptests/mp09/node2/Makefile.am | 22 --- testsuites/mptests/mp09/node2/mp09-node2.doc | 9 - testsuites/mptests/mp09/node2/mp09-node2.scn | 27 --- testsuites/mptests/mp10/mp10-node1.doc | 42 +++++ testsuites/mptests/mp10/mp10-node1.scn | 4 + testsuites/mptests/mp10/mp10-node2.doc | 9 + testsuites/mptests/mp10/mp10-node2.scn | 19 ++ testsuites/mptests/mp10/node1/Makefile.am | 22 --- testsuites/mptests/mp10/node1/mp10-node1.doc | 42 ----- testsuites/mptests/mp10/node1/mp10-node1.scn | 4 - testsuites/mptests/mp10/node2/Makefile.am | 22 --- testsuites/mptests/mp10/node2/mp10-node2.doc | 9 - testsuites/mptests/mp10/node2/mp10-node2.scn | 19 -- testsuites/mptests/mp11/mp11-node1.doc | 38 ++++ testsuites/mptests/mp11/mp11-node1.scn | 10 + testsuites/mptests/mp11/mp11-node2.doc | 9 + testsuites/mptests/mp11/mp11-node2.scn | 2 + testsuites/mptests/mp11/node1/Makefile.am | 22 --- testsuites/mptests/mp11/node1/mp11-node1.doc | 38 ---- testsuites/mptests/mp11/node1/mp11-node1.scn | 10 - testsuites/mptests/mp11/node2/Makefile.am | 22 --- testsuites/mptests/mp11/node2/mp11-node2.doc | 9 - testsuites/mptests/mp11/node2/mp11-node2.scn | 2 - testsuites/mptests/mp12/mp12-node1.doc | 48 +++++ testsuites/mptests/mp12/mp12-node1.scn | 6 + testsuites/mptests/mp12/mp12-node2.doc | 9 + testsuites/mptests/mp12/mp12-node2.scn | 10 + testsuites/mptests/mp12/node1/Makefile.am | 22 --- testsuites/mptests/mp12/node1/mp12-node1.doc | 48 ----- testsuites/mptests/mp12/node1/mp12-node1.scn | 6 - testsuites/mptests/mp12/node2/Makefile.am | 22 --- testsuites/mptests/mp12/node2/mp12-node2.doc | 9 - testsuites/mptests/mp12/node2/mp12-node2.scn | 10 - testsuites/mptests/mp13/mp13-node1.doc | 44 +++++ testsuites/mptests/mp13/mp13-node1.scn | 14 ++ testsuites/mptests/mp13/mp13-node2.doc | 9 + testsuites/mptests/mp13/mp13-node2.scn | 16 ++ testsuites/mptests/mp13/node1/Makefile.am | 22 --- testsuites/mptests/mp13/node1/mp13-node1.doc | 44 ----- testsuites/mptests/mp13/node1/mp13-node1.scn | 14 -- testsuites/mptests/mp13/node2/Makefile.am | 22 --- testsuites/mptests/mp13/node2/mp13-node2.doc | 9 - testsuites/mptests/mp13/node2/mp13-node2.scn | 16 -- testsuites/mptests/mp14/mp14-node1.doc | 46 +++++ testsuites/mptests/mp14/mp14-node1.scn | 41 +++++ testsuites/mptests/mp14/mp14-node2.doc | 9 + testsuites/mptests/mp14/mp14-node2.scn | 38 ++++ testsuites/mptests/mp14/node1/Makefile.am | 24 --- testsuites/mptests/mp14/node1/mp14-node1.doc | 46 ----- testsuites/mptests/mp14/node1/mp14-node1.scn | 41 ----- testsuites/mptests/mp14/node2/Makefile.am | 24 --- testsuites/mptests/mp14/node2/mp14-node2.doc | 9 - testsuites/mptests/mp14/node2/mp14-node2.scn | 38 ---- 132 files changed, 1333 insertions(+), 1704 deletions(-) create mode 100644 testsuites/mptests/mp01/mp01-node1.doc create mode 100644 testsuites/mptests/mp01/mp01-node1.scn create mode 100644 testsuites/mptests/mp01/mp01-node2.doc create mode 100644 testsuites/mptests/mp01/mp01-node2.scn delete mode 100644 testsuites/mptests/mp01/node1/Makefile.am delete mode 100644 testsuites/mptests/mp01/node1/mp01-node1.doc delete mode 100644 testsuites/mptests/mp01/node1/mp01-node1.scn delete mode 100644 testsuites/mptests/mp01/node2/Makefile.am delete mode 100644 testsuites/mptests/mp01/node2/mp01-node2.doc delete mode 100644 testsuites/mptests/mp01/node2/mp01-node2.scn create mode 100644 testsuites/mptests/mp03/mp03-node1.doc create mode 100644 testsuites/mptests/mp03/mp03-node1.scn create mode 100644 testsuites/mptests/mp03/mp03-node2.doc create mode 100644 testsuites/mptests/mp03/mp03-node2.scn delete mode 100644 testsuites/mptests/mp03/node1/Makefile.am delete mode 100644 testsuites/mptests/mp03/node1/mp03-node1.doc delete mode 100644 testsuites/mptests/mp03/node1/mp03-node1.scn delete mode 100644 testsuites/mptests/mp03/node2/Makefile.am delete mode 100644 testsuites/mptests/mp03/node2/mp03-node2.doc delete mode 100644 testsuites/mptests/mp03/node2/mp03-node2.scn create mode 100644 testsuites/mptests/mp04/mp04-node1.doc create mode 100644 testsuites/mptests/mp04/mp04-node1.scn create mode 100644 testsuites/mptests/mp04/mp04-node2.doc create mode 100644 testsuites/mptests/mp04/mp04-node2.scn delete mode 100644 testsuites/mptests/mp04/node1/Makefile.am delete mode 100644 testsuites/mptests/mp04/node1/mp04-node1.doc delete mode 100644 testsuites/mptests/mp04/node1/mp04-node1.scn delete mode 100644 testsuites/mptests/mp04/node2/Makefile.am delete mode 100644 testsuites/mptests/mp04/node2/mp04-node2.doc delete mode 100644 testsuites/mptests/mp04/node2/mp04-node2.scn create mode 100644 testsuites/mptests/mp05/mp05-node1.doc create mode 100644 testsuites/mptests/mp05/mp05-node1.scn create mode 100644 testsuites/mptests/mp05/mp05-node2.doc create mode 100644 testsuites/mptests/mp05/mp05-node2.scn delete mode 100644 testsuites/mptests/mp05/node1/Makefile.am delete mode 100644 testsuites/mptests/mp05/node1/mp05-node1.doc delete mode 100644 testsuites/mptests/mp05/node1/mp05-node1.scn delete mode 100644 testsuites/mptests/mp05/node2/Makefile.am delete mode 100644 testsuites/mptests/mp05/node2/mp05-node2.doc delete mode 100644 testsuites/mptests/mp05/node2/mp05-node2.scn create mode 100644 testsuites/mptests/mp06/mp06-node1.doc create mode 100644 testsuites/mptests/mp06/mp06-node1.scn create mode 100644 testsuites/mptests/mp06/mp06-node2.doc create mode 100644 testsuites/mptests/mp06/mp06-node2.scn delete mode 100644 testsuites/mptests/mp06/node1/Makefile.am delete mode 100644 testsuites/mptests/mp06/node1/mp06-node1.doc delete mode 100644 testsuites/mptests/mp06/node1/mp06-node1.scn delete mode 100644 testsuites/mptests/mp06/node2/Makefile.am delete mode 100644 testsuites/mptests/mp06/node2/mp06-node2.doc delete mode 100644 testsuites/mptests/mp06/node2/mp06-node2.scn create mode 100644 testsuites/mptests/mp07/mp07-node1.doc create mode 100644 testsuites/mptests/mp07/mp07-node1.scn create mode 100644 testsuites/mptests/mp07/mp07-node2.doc create mode 100644 testsuites/mptests/mp07/mp07-node2.scn delete mode 100644 testsuites/mptests/mp07/node1/Makefile.am delete mode 100644 testsuites/mptests/mp07/node1/mp07-node1.doc delete mode 100644 testsuites/mptests/mp07/node1/mp07-node1.scn delete mode 100644 testsuites/mptests/mp07/node2/Makefile.am delete mode 100644 testsuites/mptests/mp07/node2/mp07-node2.doc delete mode 100644 testsuites/mptests/mp07/node2/mp07-node2.scn create mode 100644 testsuites/mptests/mp08/mp08-node1.doc create mode 100644 testsuites/mptests/mp08/mp08-node1.scn create mode 100644 testsuites/mptests/mp08/mp08-node2.doc create mode 100644 testsuites/mptests/mp08/mp08-node2.scn delete mode 100644 testsuites/mptests/mp08/node1/Makefile.am delete mode 100644 testsuites/mptests/mp08/node1/mp08-node1.doc delete mode 100644 testsuites/mptests/mp08/node1/mp08-node1.scn delete mode 100644 testsuites/mptests/mp08/node2/Makefile.am delete mode 100644 testsuites/mptests/mp08/node2/mp08-node2.doc delete mode 100644 testsuites/mptests/mp08/node2/mp08-node2.scn create mode 100644 testsuites/mptests/mp09/mp09-node1.doc create mode 100644 testsuites/mptests/mp09/mp09-node1.scn create mode 100644 testsuites/mptests/mp09/mp09-node2.doc create mode 100644 testsuites/mptests/mp09/mp09-node2.scn delete mode 100644 testsuites/mptests/mp09/node1/Makefile.am delete mode 100644 testsuites/mptests/mp09/node1/mp09-node1.doc delete mode 100644 testsuites/mptests/mp09/node1/mp09-node1.scn delete mode 100644 testsuites/mptests/mp09/node2/Makefile.am delete mode 100644 testsuites/mptests/mp09/node2/mp09-node2.doc delete mode 100644 testsuites/mptests/mp09/node2/mp09-node2.scn create mode 100644 testsuites/mptests/mp10/mp10-node1.doc create mode 100644 testsuites/mptests/mp10/mp10-node1.scn create mode 100644 testsuites/mptests/mp10/mp10-node2.doc create mode 100644 testsuites/mptests/mp10/mp10-node2.scn delete mode 100644 testsuites/mptests/mp10/node1/Makefile.am delete mode 100644 testsuites/mptests/mp10/node1/mp10-node1.doc delete mode 100644 testsuites/mptests/mp10/node1/mp10-node1.scn delete mode 100644 testsuites/mptests/mp10/node2/Makefile.am delete mode 100644 testsuites/mptests/mp10/node2/mp10-node2.doc delete mode 100644 testsuites/mptests/mp10/node2/mp10-node2.scn create mode 100644 testsuites/mptests/mp11/mp11-node1.doc create mode 100644 testsuites/mptests/mp11/mp11-node1.scn create mode 100644 testsuites/mptests/mp11/mp11-node2.doc create mode 100644 testsuites/mptests/mp11/mp11-node2.scn delete mode 100644 testsuites/mptests/mp11/node1/Makefile.am delete mode 100644 testsuites/mptests/mp11/node1/mp11-node1.doc delete mode 100644 testsuites/mptests/mp11/node1/mp11-node1.scn delete mode 100644 testsuites/mptests/mp11/node2/Makefile.am delete mode 100644 testsuites/mptests/mp11/node2/mp11-node2.doc delete mode 100644 testsuites/mptests/mp11/node2/mp11-node2.scn create mode 100644 testsuites/mptests/mp12/mp12-node1.doc create mode 100644 testsuites/mptests/mp12/mp12-node1.scn create mode 100644 testsuites/mptests/mp12/mp12-node2.doc create mode 100644 testsuites/mptests/mp12/mp12-node2.scn delete mode 100644 testsuites/mptests/mp12/node1/Makefile.am delete mode 100644 testsuites/mptests/mp12/node1/mp12-node1.doc delete mode 100644 testsuites/mptests/mp12/node1/mp12-node1.scn delete mode 100644 testsuites/mptests/mp12/node2/Makefile.am delete mode 100644 testsuites/mptests/mp12/node2/mp12-node2.doc delete mode 100644 testsuites/mptests/mp12/node2/mp12-node2.scn create mode 100644 testsuites/mptests/mp13/mp13-node1.doc create mode 100644 testsuites/mptests/mp13/mp13-node1.scn create mode 100644 testsuites/mptests/mp13/mp13-node2.doc create mode 100644 testsuites/mptests/mp13/mp13-node2.scn delete mode 100644 testsuites/mptests/mp13/node1/Makefile.am delete mode 100644 testsuites/mptests/mp13/node1/mp13-node1.doc delete mode 100644 testsuites/mptests/mp13/node1/mp13-node1.scn delete mode 100644 testsuites/mptests/mp13/node2/Makefile.am delete mode 100644 testsuites/mptests/mp13/node2/mp13-node2.doc delete mode 100644 testsuites/mptests/mp13/node2/mp13-node2.scn create mode 100644 testsuites/mptests/mp14/mp14-node1.doc create mode 100644 testsuites/mptests/mp14/mp14-node1.scn create mode 100644 testsuites/mptests/mp14/mp14-node2.doc create mode 100644 testsuites/mptests/mp14/mp14-node2.scn delete mode 100644 testsuites/mptests/mp14/node1/Makefile.am delete mode 100644 testsuites/mptests/mp14/node1/mp14-node1.doc delete mode 100644 testsuites/mptests/mp14/node1/mp14-node1.scn delete mode 100644 testsuites/mptests/mp14/node2/Makefile.am delete mode 100644 testsuites/mptests/mp14/node2/mp14-node2.doc delete mode 100644 testsuites/mptests/mp14/node2/mp14-node2.scn (limited to 'testsuites/mptests') diff --git a/testsuites/mptests/Makefile.am b/testsuites/mptests/Makefile.am index cfb80e5a23..18416169d5 100644 --- a/testsuites/mptests/Makefile.am +++ b/testsuites/mptests/Makefile.am @@ -1,19 +1,249 @@ +# +# Multiple Processor Teststuite +# + ACLOCAL_AMFLAGS = -I ../aclocal -_SUBDIRS = -_SUBDIRS += mp01 -_SUBDIRS += mp03 -_SUBDIRS += mp04 -_SUBDIRS += mp05 -_SUBDIRS += mp06 -_SUBDIRS += mp07 -_SUBDIRS += mp08 -_SUBDIRS += mp09 -_SUBDIRS += mp10 -_SUBDIRS += mp11 -_SUBDIRS += mp12 -_SUBDIRS += mp13 -_SUBDIRS += mp14 - -include $(top_srcdir)/../automake/subdirs.am +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +include $(top_srcdir)/../automake/compile.am + +mp_tests = +mp_screens = +mp_docs = +mp_lib = + +support_includes = -I$(top_srcdir)/../support/include + +if HAS_MP +if TEST_mp01 +mp_tests += mp01_node1 +mp_screens += mp01/mp01-node1.scn +mp_docs += mp01/mp01-node1.doc +mp01_node1_SOURCES = mp01/init.c mp01/task1.c mp01/system.h +mp01_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp01) \ + $(support_includes) +mp_tests += mp01_node2 +mp_screens += mp01/mp01-node2.scn +mp_docs += mp01/mp01-node2.doc +mp01_node2_SOURCES = mp01/init.c mp01/task1.c mp01/system.h +mp01_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp01) \ + $(support_includes) +endif +endif + +if HAS_MP +if TEST_mp03 +mp_tests += mp03_node1 +mp_screens += mp03/mp03-node1.scn +mp_docs += mp03/mp03-node1.doc +mp03_node1_SOURCES = mp03/init.c mp03/task1.c mp03/delay.c mp03/system.h +mp03_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp03) \ + $(support_includes) +mp_tests += mp03_node2 +mp_screens += mp03/mp03-node2.scn +mp_docs += mp03/mp03-node2.doc +mp03_node2_SOURCES = mp03/init.c mp03/task1.c mp03/delay.c mp03/system.h +mp03_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp03) \ + $(support_includes) +endif +endif + +if HAS_MP +if TEST_mp04 +mp_tests += mp04_node1 +mp_screens += mp04/mp04-node1.scn +mp_docs += mp04/mp04-node1.doc +mp04_node1_SOURCES = mp04/init.c mp04/task1.c mp04/system.h +mp04_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp04) \ + $(support_includes) +mp_tests += mp04_node2 +mp_screens += mp04/mp04-node2.scn +mp_docs += mp04/mp04-node2.doc +mp04_node2_SOURCES = mp04/init.c mp04/task1.c mp04/system.h +mp04_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp04) \ + $(support_includes) +endif +endif + +if HAS_MP +if TEST_mp05 +mp_tests += mp05_node1 +mp_screens += mp05/mp05-node1.scn +mp_docs += mp05/mp05-node1.doc +mp05_node1_SOURCES = mp05/init.c mp05/task1.c mp05/asr.c mp05/system.h +mp05_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp05) \ + $(support_includes) +mp_tests += mp05_node2 +mp_screens += mp05/mp05-node2.scn +mp_docs += mp05/mp05-node2.doc +mp05_node2_SOURCES = mp05/init.c mp05/task1.c mp05/asr.c mp05/system.h +mp05_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp05) \ + $(support_includes) +endif +endif + +if HAS_MP +if TEST_mp06 +mp_tests += mp06_node1 +mp_screens += mp06/mp06-node1.scn +mp_docs += mp06/mp06-node1.doc +mp06_node1_SOURCES = mp06/init.c mp06/task1.c mp06/system.h +mp06_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp06) \ + $(support_includes) +mp_tests += mp06_node2 +mp_screens += mp06/mp06-node2.scn +mp_docs += mp06/mp06-node2.doc +mp06_node2_SOURCES = mp06/init.c mp06/task1.c mp06/system.h +mp06_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp06) \ + $(support_includes) +endif +endif + +if HAS_MP +if TEST_mp07 +mp_tests += mp07_node1 +mp_screens += mp07/mp07-node1.scn +mp_docs += mp07/mp07-node1.doc +mp07_node1_SOURCES = mp07/init.c mp07/task1.c mp07/system.h +mp07_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp07) \ + $(support_includes) +mp_tests += mp07_node2 +mp_screens += mp07/mp07-node2.scn +mp_docs += mp07/mp07-node2.doc +mp07_node2_SOURCES = mp07/init.c mp07/task1.c mp07/system.h +mp07_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp07) \ + $(support_includes) +endif +endif + +if HAS_MP +if TEST_mp08 +mp_tests += mp08_node1 +mp_screens += mp08/mp08-node1.scn +mp_docs += mp08/mp08-node1.doc +mp08_node1_SOURCES = mp08/init.c mp08/task1.c mp08/system.h +mp08_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp08) \ + $(support_includes) +mp_tests += mp08_node2 +mp_screens += mp08/mp08-node2.scn +mp_docs += mp08/mp08-node2.doc +mp08_node2_SOURCES = mp08/init.c mp08/task1.c mp08/system.h +mp08_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp08) \ + $(support_includes) +endif +endif + +if HAS_MP +if TEST_mp09 +mp_tests += mp09_node1 +mp_screens += mp09/mp09-node1.scn +mp_docs += mp09/mp09-node1.doc +mp09_node1_SOURCES = mp09/init.c mp09/task1.c mp09/recvmsg.c \ + mp09/sendmsg.c mp09/system.h +mp09_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp09) \ + $(support_includes) +mp_tests += mp09_node2 +mp_screens += mp09/mp09-node2.scn +mp_docs += mp09/mp09-node2.doc +mp09_node2_SOURCES = mp09/init.c mp09/task1.c mp09/recvmsg.c \ + mp09/sendmsg.c mp09/system.h +mp09_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp09) \ + $(support_includes) +endif +endif + +if HAS_MP +if TEST_mp10 +mp_tests += mp10_node1 +mp_screens += mp10/mp10-node1.scn +mp_docs += mp10/mp10-node1.doc +mp10_node1_SOURCES = mp10/init.c mp10/task1.c mp10/task2.c mp10/task3.c \ + mp10/system.h +mp10_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp10) \ + $(support_includes) +mp_tests += mp10_node2 +mp_screens += mp10/mp10-node2.scn +mp_docs += mp10/mp10-node2.doc +mp10_node2_SOURCES = mp10/init.c mp10/task1.c mp10/task2.c mp10/task3.c \ + mp10/system.h +mp10_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp10) \ + $(support_includes) +endif +endif + +if HAS_MP +if TEST_mp11 +mp_tests += mp11_node1 +mp_screens += mp11/mp11-node1.scn +mp_docs += mp11/mp11-node1.doc +mp11_node1_SOURCES = mp11/init.c mp11/system.h +mp11_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp11) \ + $(support_includes) +mp_tests += mp11_node2 +mp_screens += mp11/mp11-node2.scn +mp_docs += mp11/mp11-node2.doc +mp11_node2_SOURCES = mp11/init.c mp11/system.h +mp11_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp11) \ + $(support_includes) +endif +endif + +if HAS_MP +if TEST_mp12 +mp_tests += mp12_node1 +mp_screens += mp12/mp12-node1.scn +mp_docs += mp12/mp12-node1.doc +mp12_node1_SOURCES = mp12/init.c mp12/system.h +mp12_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp12) \ + $(support_includes) +mp_tests += mp12_node2 +mp_screens += mp12/mp12-node2.scn +mp_docs += mp12/mp12-node2.doc +mp12_node2_SOURCES = mp12/init.c mp12/system.h +mp12_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp12) \ + $(support_includes) +endif +endif + +if HAS_MP +if TEST_mp13 +mp_tests += mp13_node1 +mp_screens += mp13/mp13-node1.scn +mp_docs += mp13/mp13-node1.doc +mp13_node1_SOURCES = mp13/init.c mp13/task1.c mp13/task2.c mp13/system.h +mp13_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp13) \ + $(support_includes) +mp_tests += mp13_node2 +mp_screens += mp13/mp13-node2.scn +mp_docs += mp13/mp13-node2.doc +mp13_node2_SOURCES = mp13/init.c mp13/task1.c mp13/task2.c mp13/system.h +mp13_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp13) \ + $(support_includes) +endif +endif + +if HAS_MP +if TEST_mp14 +mp_tests += mp14_node1 +mp_screens += mp14/mp14-node1.scn +mp_docs += mp14/mp14-node1.doc +mp14_node1_SOURCES = mp14/init.c mp14/exit.c mp14/delay.c \ + mp14/evtask1.c mp14/evtmtask.c mp14/pttask1.c mp14/smtask1.c \ + mp14/msgtask1.c mp14/system.h +mp14_node1_CPPFLAGS = -DNODE_NUMBER=1 $(AM_CPPFLAGS) $(TEST_FLAGS_mp14) \ + $(support_includes) -DMAX_LONG_TEST_DURATION=$(MAX_LONG_TEST_DURATION) +mp_tests += mp14_node2 +mp_screens += mp14/mp14-node2.scn +mp_docs += mp14/mp14-node2.doc +mp14_node2_SOURCES = mp14/init.c mp14/exit.c mp14/delay.c \ + mp14/evtask1.c mp14/evtmtask.c mp14/pttask1.c mp14/smtask1.c \ + mp14/msgtask1.c mp14/system.h +mp14_node2_CPPFLAGS = -DNODE_NUMBER=2 $(AM_CPPFLAGS) $(TEST_FLAGS_mp14) \ + $(support_includes) -DMAX_LONG_TEST_DURATION=$(MAX_LONG_TEST_DURATION) +endif +endif + +rtems_tests_PROGRAMS = $(mp_tests) +dist_rtems_tests_DATA = $(mp_screens) $(mp_docs) + include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/configure.ac b/testsuites/mptests/configure.ac index fca89117a1..f13759078d 100644 --- a/testsuites/mptests/configure.ac +++ b/testsuites/mptests/configure.ac @@ -32,46 +32,20 @@ MAX_LONG_TEST_DURATION=${MAX_LONG_TEST_DURATION-100} AC_ARG_VAR([MAX_LONG_TEST_DURATION], [The longest length of time a "long running" test should run]) -# Explicitly list all Makefiles here -AC_CONFIG_FILES([Makefile -mp01/Makefile -mp01/node1/Makefile -mp01/node2/Makefile -mp03/Makefile -mp03/node1/Makefile -mp03/node2/Makefile -mp04/Makefile -mp04/node1/Makefile -mp04/node2/Makefile -mp05/Makefile -mp05/node1/Makefile -mp05/node2/Makefile -mp06/Makefile -mp06/node1/Makefile -mp06/node2/Makefile -mp07/Makefile -mp07/node1/Makefile -mp07/node2/Makefile -mp08/Makefile -mp08/node1/Makefile -mp08/node2/Makefile -mp09/Makefile -mp09/node1/Makefile -mp09/node2/Makefile -mp10/Makefile -mp10/node1/Makefile -mp10/node2/Makefile -mp11/Makefile -mp11/node1/Makefile -mp11/node2/Makefile -mp12/Makefile -mp12/node1/Makefile -mp12/node2/Makefile -mp13/Makefile -mp13/node1/Makefile -mp13/node2/Makefile -mp14/Makefile -mp14/node1/Makefile -mp14/node2/Makefile -]) +# BSP Test configuration +RTEMS_TEST_CHECK([mp01]) +RTEMS_TEST_CHECK([mp03]) +RTEMS_TEST_CHECK([mp04]) +RTEMS_TEST_CHECK([mp05]) +RTEMS_TEST_CHECK([mp06]) +RTEMS_TEST_CHECK([mp07]) +RTEMS_TEST_CHECK([mp08]) +RTEMS_TEST_CHECK([mp09]) +RTEMS_TEST_CHECK([mp10]) +RTEMS_TEST_CHECK([mp11]) +RTEMS_TEST_CHECK([mp12]) +RTEMS_TEST_CHECK([mp13]) +RTEMS_TEST_CHECK([mp14]) + +AC_CONFIG_FILES([Makefile]) AC_OUTPUT diff --git a/testsuites/mptests/mp01/mp01-node1.doc b/testsuites/mptests/mp01/mp01-node1.doc new file mode 100644 index 0000000000..dff9f2f8d2 --- /dev/null +++ b/testsuites/mptests/mp01/mp01-node1.doc @@ -0,0 +1,49 @@ +# 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.org/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/mp01-node1.scn b/testsuites/mptests/mp01/mp01-node1.scn new file mode 100644 index 0000000000..9754ae0739 --- /dev/null +++ b/testsuites/mptests/mp01/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_tod - 09:00:00 12/31/1988 +MA2 - rtems_clock_get_tod - 09:00:00 12/31/1988 +MA3 - rtems_clock_get_tod - 09:00:00 12/31/1988 +MA1 - rtems_clock_get_tod - 09:00:05 12/31/1988 +MA1 - deleting self +MA2 - rtems_clock_get_tod - 09:00:10 12/31/1988 +MA2 - waiting to be deleted by MA3 +MA3 - rtems_clock_get_tod - 09:00:15 12/31/1988 +MA3 - getting TID of MA2 +MA3 - deleting MA2 +*** END OF TEST 1 *** diff --git a/testsuites/mptests/mp01/mp01-node2.doc b/testsuites/mptests/mp01/mp01-node2.doc new file mode 100644 index 0000000000..981286480f --- /dev/null +++ b/testsuites/mptests/mp01/mp01-node2.doc @@ -0,0 +1,9 @@ +# 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.org/license/LICENSE. +# + + diff --git a/testsuites/mptests/mp01/mp01-node2.scn b/testsuites/mptests/mp01/mp01-node2.scn new file mode 100644 index 0000000000..17fa8a64bf --- /dev/null +++ b/testsuites/mptests/mp01/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_tod - 09:00:00 12/31/1988 +SA2 - rtems_clock_get_tod - 09:00:00 12/31/1988 +SA3 - rtems_clock_get_tod - 09:00:00 12/31/1988 +SA1 - rtems_clock_get_tod - 09:00:05 12/31/1988 +SA1 - deleting self +SA2 - rtems_clock_get_tod - 09:00:10 12/31/1988 +SA2 - waiting to be deleted by SA3 +SA3 - rtems_clock_get_tod - 09:00:15 12/31/1988 +SA3 - getting TID of SA2 +SA3 - deleting SA2 +*** END OF TEST 1 *** diff --git a/testsuites/mptests/mp01/node1/Makefile.am b/testsuites/mptests/mp01/node1/Makefile.am deleted file mode 100644 index ad2d12e538..0000000000 --- a/testsuites/mptests/mp01/node1/Makefile.am +++ /dev/null @@ -1,21 +0,0 @@ -rtems_tests_PROGRAMS = mp01-node1 -mp01_node1_SOURCES = ../init.c ../task1.c ../system.h - -dist_rtems_tests_DATA = mp01-node1.scn -dist_rtems_tests_DATA += mp01-node1.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp01_node1_OBJECTS) -LINK_LIBS = $(mp01_node1_LDLIBS) - -mp01-node1$(EXEEXT): $(mp01_node1_OBJECTS) $(mp01_node1_DEPENDENCIES) - @rm -f mp01-node1$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp01/node1/mp01-node1.doc b/testsuites/mptests/mp01/node1/mp01-node1.doc deleted file mode 100644 index dff9f2f8d2..0000000000 --- a/testsuites/mptests/mp01/node1/mp01-node1.doc +++ /dev/null @@ -1,49 +0,0 @@ -# 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.org/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 deleted file mode 100644 index 9754ae0739..0000000000 --- a/testsuites/mptests/mp01/node1/mp01-node1.scn +++ /dev/null @@ -1,15 +0,0 @@ -*** TEST 1 -- NODE 1 *** -Creating task 1 (Global) -Creating task 2 (Global) -Creating task 3 (Local) -MA1 - rtems_clock_get_tod - 09:00:00 12/31/1988 -MA2 - rtems_clock_get_tod - 09:00:00 12/31/1988 -MA3 - rtems_clock_get_tod - 09:00:00 12/31/1988 -MA1 - rtems_clock_get_tod - 09:00:05 12/31/1988 -MA1 - deleting self -MA2 - rtems_clock_get_tod - 09:00:10 12/31/1988 -MA2 - waiting to be deleted by MA3 -MA3 - rtems_clock_get_tod - 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/Makefile.am b/testsuites/mptests/mp01/node2/Makefile.am deleted file mode 100644 index 4d5a2aa944..0000000000 --- a/testsuites/mptests/mp01/node2/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -rtems_tests_PROGRAMS = mp01-node2 -mp01_node2_SOURCES = ../init.c ../task1.c ../system.h - -dist_rtems_tests_DATA = mp01-node2.scn -dist_rtems_tests_DATA += mp01-node2.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp01_node2_OBJECTS) -LINK_LIBS = $(mp01_node2_LDLIBS) - -mp01-node2$(EXEEXT): $(mp01_node2_OBJECTS) $(mp01_node2_DEPENDENCIES) - @rm -f mp01-node2$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp01/node2/mp01-node2.doc b/testsuites/mptests/mp01/node2/mp01-node2.doc deleted file mode 100644 index 981286480f..0000000000 --- a/testsuites/mptests/mp01/node2/mp01-node2.doc +++ /dev/null @@ -1,9 +0,0 @@ -# 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.org/license/LICENSE. -# - - diff --git a/testsuites/mptests/mp01/node2/mp01-node2.scn b/testsuites/mptests/mp01/node2/mp01-node2.scn deleted file mode 100644 index 17fa8a64bf..0000000000 --- a/testsuites/mptests/mp01/node2/mp01-node2.scn +++ /dev/null @@ -1,15 +0,0 @@ -*** TEST 1 -- NODE 2 *** -Creating task 1 (Global) -Creating task 2 (Global) -Creating task 3 (Local) -SA1 - rtems_clock_get_tod - 09:00:00 12/31/1988 -SA2 - rtems_clock_get_tod - 09:00:00 12/31/1988 -SA3 - rtems_clock_get_tod - 09:00:00 12/31/1988 -SA1 - rtems_clock_get_tod - 09:00:05 12/31/1988 -SA1 - deleting self -SA2 - rtems_clock_get_tod - 09:00:10 12/31/1988 -SA2 - waiting to be deleted by SA3 -SA3 - rtems_clock_get_tod - 09:00:15 12/31/1988 -SA3 - getting TID of SA2 -SA3 - deleting SA2 -*** END OF TEST 1 *** diff --git a/testsuites/mptests/mp03/mp03-node1.doc b/testsuites/mptests/mp03/mp03-node1.doc new file mode 100644 index 0000000000..f2d149e85e --- /dev/null +++ b/testsuites/mptests/mp03/mp03-node1.doc @@ -0,0 +1,41 @@ +# 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.org/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/mp03-node1.scn b/testsuites/mptests/mp03/mp03-node1.scn new file mode 100644 index 0000000000..129e5bccba --- /dev/null +++ b/testsuites/mptests/mp03/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/mp03-node2.doc b/testsuites/mptests/mp03/mp03-node2.doc new file mode 100644 index 0000000000..981286480f --- /dev/null +++ b/testsuites/mptests/mp03/mp03-node2.doc @@ -0,0 +1,9 @@ +# 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.org/license/LICENSE. +# + + diff --git a/testsuites/mptests/mp03/mp03-node2.scn b/testsuites/mptests/mp03/mp03-node2.scn new file mode 100644 index 0000000000..d77c09e9f7 --- /dev/null +++ b/testsuites/mptests/mp03/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/mp03/node1/Makefile.am b/testsuites/mptests/mp03/node1/Makefile.am deleted file mode 100644 index 7710acdef5..0000000000 --- a/testsuites/mptests/mp03/node1/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -rtems_tests_PROGRAMS = mp03-node1 -mp03_node1_SOURCES = ../init.c ../task1.c ../delay.c ../system.h - -dist_rtems_tests_DATA = mp03-node1.scn -dist_rtems_tests_DATA += mp03-node1.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp03_node1_OBJECTS) -LINK_LIBS = $(mp03_node1_LDLIBS) - -mp03-node1$(EXEEXT): $(mp03_node1_OBJECTS) $(mp03_node1_DEPENDENCIES) - @rm -f mp03-node1$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp03/node1/mp03-node1.doc b/testsuites/mptests/mp03/node1/mp03-node1.doc deleted file mode 100644 index f2d149e85e..0000000000 --- a/testsuites/mptests/mp03/node1/mp03-node1.doc +++ /dev/null @@ -1,41 +0,0 @@ -# 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.org/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 deleted file mode 100644 index 129e5bccba..0000000000 --- a/testsuites/mptests/mp03/node1/mp03-node1.scn +++ /dev/null @@ -1,24 +0,0 @@ -*** 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/Makefile.am b/testsuites/mptests/mp03/node2/Makefile.am deleted file mode 100644 index 868dd6c4e7..0000000000 --- a/testsuites/mptests/mp03/node2/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -rtems_tests_PROGRAMS = mp03-node2 -mp03_node2_SOURCES = ../init.c ../delay.c ../task1.c ../system.h - -dist_rtems_tests_DATA = mp03-node2.scn -dist_rtems_tests_DATA += mp03-node2.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp03_node2_OBJECTS) -LINK_LIBS = $(mp03_node2_LDLIBS) - -mp03-node2$(EXEEXT): $(mp03_node2_OBJECTS) $(mp03_node2_DEPENDENCIES) - @rm -f mp03-node2$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp03/node2/mp03-node2.doc b/testsuites/mptests/mp03/node2/mp03-node2.doc deleted file mode 100644 index 981286480f..0000000000 --- a/testsuites/mptests/mp03/node2/mp03-node2.doc +++ /dev/null @@ -1,9 +0,0 @@ -# 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.org/license/LICENSE. -# - - diff --git a/testsuites/mptests/mp03/node2/mp03-node2.scn b/testsuites/mptests/mp03/node2/mp03-node2.scn deleted file mode 100644 index d77c09e9f7..0000000000 --- a/testsuites/mptests/mp03/node2/mp03-node2.scn +++ /dev/null @@ -1,24 +0,0 @@ -*** 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/mp04-node1.doc b/testsuites/mptests/mp04/mp04-node1.doc new file mode 100644 index 0000000000..4ff3647852 --- /dev/null +++ b/testsuites/mptests/mp04/mp04-node1.doc @@ -0,0 +1,37 @@ +# 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.org/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/mp04-node1.scn b/testsuites/mptests/mp04/mp04-node1.scn new file mode 100644 index 0000000000..e9518f3ac2 --- /dev/null +++ b/testsuites/mptests/mp04/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/mp04-node2.doc b/testsuites/mptests/mp04/mp04-node2.doc new file mode 100644 index 0000000000..981286480f --- /dev/null +++ b/testsuites/mptests/mp04/mp04-node2.doc @@ -0,0 +1,9 @@ +# 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.org/license/LICENSE. +# + + diff --git a/testsuites/mptests/mp04/mp04-node2.scn b/testsuites/mptests/mp04/mp04-node2.scn new file mode 100644 index 0000000000..8ccfcfef79 --- /dev/null +++ b/testsuites/mptests/mp04/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/mp04/node1/Makefile.am b/testsuites/mptests/mp04/node1/Makefile.am deleted file mode 100644 index ad619ae1ca..0000000000 --- a/testsuites/mptests/mp04/node1/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -rtems_tests_PROGRAMS = mp04-node1 -mp04_node1_SOURCES = ../init.c ../task1.c ../system.h - -dist_rtems_tests_DATA = mp04-node1.scn -dist_rtems_tests_DATA += mp04-node1.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp04_node1_OBJECTS) -LINK_LIBS = $(mp04_node1_LDLIBS) - -mp04-node1$(EXEEXT): $(mp04_node1_OBJECTS) $(mp04_node1_DEPENDENCIES) - @rm -f mp04-node1$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp04/node1/mp04-node1.doc b/testsuites/mptests/mp04/node1/mp04-node1.doc deleted file mode 100644 index 4ff3647852..0000000000 --- a/testsuites/mptests/mp04/node1/mp04-node1.doc +++ /dev/null @@ -1,37 +0,0 @@ -# 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.org/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 deleted file mode 100644 index e9518f3ac2..0000000000 --- a/testsuites/mptests/mp04/node1/mp04-node1.scn +++ /dev/null @@ -1,8 +0,0 @@ -*** 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/Makefile.am b/testsuites/mptests/mp04/node2/Makefile.am deleted file mode 100644 index 4ac67a94f9..0000000000 --- a/testsuites/mptests/mp04/node2/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -rtems_tests_PROGRAMS = mp04-node2 -mp04_node2_SOURCES = ../init.c ../task1.c ../system.h - -dist_rtems_tests_DATA = mp04-node2.scn -dist_rtems_tests_DATA += mp04-node2.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp04_node2_OBJECTS) -LINK_LIBS = $(mp04_node2_LDLIBS) - -mp04-node2$(EXEEXT): $(mp04_node2_OBJECTS) $(mp04_node2_DEPENDENCIES) - @rm -f mp04-node2$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp04/node2/mp04-node2.doc b/testsuites/mptests/mp04/node2/mp04-node2.doc deleted file mode 100644 index 981286480f..0000000000 --- a/testsuites/mptests/mp04/node2/mp04-node2.doc +++ /dev/null @@ -1,9 +0,0 @@ -# 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.org/license/LICENSE. -# - - diff --git a/testsuites/mptests/mp04/node2/mp04-node2.scn b/testsuites/mptests/mp04/node2/mp04-node2.scn deleted file mode 100644 index 8ccfcfef79..0000000000 --- a/testsuites/mptests/mp04/node2/mp04-node2.scn +++ /dev/null @@ -1,8 +0,0 @@ -*** 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/mp05-node1.doc b/testsuites/mptests/mp05/mp05-node1.doc new file mode 100644 index 0000000000..a9042ada9c --- /dev/null +++ b/testsuites/mptests/mp05/mp05-node1.doc @@ -0,0 +1,41 @@ +# 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.org/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/mp05-node1.scn b/testsuites/mptests/mp05/mp05-node1.scn new file mode 100644 index 0000000000..472740ba18 --- /dev/null +++ b/testsuites/mptests/mp05/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/mp05-node2.doc b/testsuites/mptests/mp05/mp05-node2.doc new file mode 100644 index 0000000000..981286480f --- /dev/null +++ b/testsuites/mptests/mp05/mp05-node2.doc @@ -0,0 +1,9 @@ +# 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.org/license/LICENSE. +# + + diff --git a/testsuites/mptests/mp05/mp05-node2.scn b/testsuites/mptests/mp05/mp05-node2.scn new file mode 100644 index 0000000000..0c4b412f65 --- /dev/null +++ b/testsuites/mptests/mp05/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/mp05/node1/Makefile.am b/testsuites/mptests/mp05/node1/Makefile.am deleted file mode 100644 index 99d0f9f086..0000000000 --- a/testsuites/mptests/mp05/node1/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -rtems_tests_PROGRAMS = mp05-node1 -mp05_node1_SOURCES = ../init.c ../asr.c ../task1.c ../system.h - -dist_rtems_tests_DATA = mp05-node1.scn -dist_rtems_tests_DATA += mp05-node1.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp05_node1_OBJECTS) -LINK_LIBS = $(mp05_node1_LDLIBS) - -mp05-node1$(EXEEXT): $(mp05_node1_OBJECTS) $(mp05_node1_DEPENDENCIES) - @rm -f mp05-node1$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp05/node1/mp05-node1.doc b/testsuites/mptests/mp05/node1/mp05-node1.doc deleted file mode 100644 index a9042ada9c..0000000000 --- a/testsuites/mptests/mp05/node1/mp05-node1.doc +++ /dev/null @@ -1,41 +0,0 @@ -# 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.org/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 deleted file mode 100644 index 472740ba18..0000000000 --- a/testsuites/mptests/mp05/node1/mp05-node1.scn +++ /dev/null @@ -1,11 +0,0 @@ -*** 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/Makefile.am b/testsuites/mptests/mp05/node2/Makefile.am deleted file mode 100644 index 2114fc59c7..0000000000 --- a/testsuites/mptests/mp05/node2/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -rtems_tests_PROGRAMS = mp05-node2 -mp05_node2_SOURCES = ../init.c ../asr.c ../task1.c ../system.h - -dist_rtems_tests_DATA = mp05-node2.scn -dist_rtems_tests_DATA += mp05-node2.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp05_node2_OBJECTS) -LINK_LIBS = $(mp05_node2_LDLIBS) - -mp05-node2$(EXEEXT): $(mp05_node2_OBJECTS) $(mp05_node2_DEPENDENCIES) - @rm -f mp05-node2$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp05/node2/mp05-node2.doc b/testsuites/mptests/mp05/node2/mp05-node2.doc deleted file mode 100644 index 981286480f..0000000000 --- a/testsuites/mptests/mp05/node2/mp05-node2.doc +++ /dev/null @@ -1,9 +0,0 @@ -# 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.org/license/LICENSE. -# - - diff --git a/testsuites/mptests/mp05/node2/mp05-node2.scn b/testsuites/mptests/mp05/node2/mp05-node2.scn deleted file mode 100644 index 0c4b412f65..0000000000 --- a/testsuites/mptests/mp05/node2/mp05-node2.scn +++ /dev/null @@ -1,10 +0,0 @@ -*** 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/mp06-node1.doc b/testsuites/mptests/mp06/mp06-node1.doc new file mode 100644 index 0000000000..03c278fd33 --- /dev/null +++ b/testsuites/mptests/mp06/mp06-node1.doc @@ -0,0 +1,41 @@ +# 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.org/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/mp06-node1.scn b/testsuites/mptests/mp06/mp06-node1.scn new file mode 100644 index 0000000000..592777e5d7 --- /dev/null +++ b/testsuites/mptests/mp06/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/mp06-node2.doc b/testsuites/mptests/mp06/mp06-node2.doc new file mode 100644 index 0000000000..981286480f --- /dev/null +++ b/testsuites/mptests/mp06/mp06-node2.doc @@ -0,0 +1,9 @@ +# 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.org/license/LICENSE. +# + + diff --git a/testsuites/mptests/mp06/mp06-node2.scn b/testsuites/mptests/mp06/mp06-node2.scn new file mode 100644 index 0000000000..618ce5b8ee --- /dev/null +++ b/testsuites/mptests/mp06/mp06-node2.scn @@ -0,0 +1,14 @@ +*** 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 +.................................................... +.................................................... +Flushing RTEMS_EVENT_16 +Waiting for RTEMS_EVENT_16 +rtems_event_receive - correctly returned RTEMS_TIMEOUT +*** END OF TEST 6 *** + diff --git a/testsuites/mptests/mp06/node1/Makefile.am b/testsuites/mptests/mp06/node1/Makefile.am deleted file mode 100644 index 73575a1a16..0000000000 --- a/testsuites/mptests/mp06/node1/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -rtems_tests_PROGRAMS = mp06-node1 -mp06_node1_SOURCES = ../init.c ../task1.c ../system.h - -dist_rtems_tests_DATA = mp06-node1.scn -dist_rtems_tests_DATA += mp06-node1.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp06_node1_OBJECTS) -LINK_LIBS = $(mp06_node1_LDLIBS) - -mp06-node1$(EXEEXT): $(mp06_node1_OBJECTS) $(mp06_node1_DEPENDENCIES) - @rm -f mp06-node1$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp06/node1/mp06-node1.doc b/testsuites/mptests/mp06/node1/mp06-node1.doc deleted file mode 100644 index 03c278fd33..0000000000 --- a/testsuites/mptests/mp06/node1/mp06-node1.doc +++ /dev/null @@ -1,41 +0,0 @@ -# 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.org/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 deleted file mode 100644 index 592777e5d7..0000000000 --- a/testsuites/mptests/mp06/node1/mp06-node1.scn +++ /dev/null @@ -1,11 +0,0 @@ -*** 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/Makefile.am b/testsuites/mptests/mp06/node2/Makefile.am deleted file mode 100644 index 66afc48aaf..0000000000 --- a/testsuites/mptests/mp06/node2/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -rtems_tests_PROGRAMS = mp06-node2 -mp06_node2_SOURCES = ../init.c ../task1.c ../system.h - -dist_rtems_tests_DATA = mp06-node2.scn -dist_rtems_tests_DATA += mp06-node2.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp06_node2_OBJECTS) -LINK_LIBS = $(mp06_node2_LDLIBS) - -mp06-node2$(EXEEXT): $(mp06_node2_OBJECTS) $(mp06_node2_DEPENDENCIES) - @rm -f mp06-node2$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp06/node2/mp06-node2.doc b/testsuites/mptests/mp06/node2/mp06-node2.doc deleted file mode 100644 index 981286480f..0000000000 --- a/testsuites/mptests/mp06/node2/mp06-node2.doc +++ /dev/null @@ -1,9 +0,0 @@ -# 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.org/license/LICENSE. -# - - diff --git a/testsuites/mptests/mp06/node2/mp06-node2.scn b/testsuites/mptests/mp06/node2/mp06-node2.scn deleted file mode 100644 index 618ce5b8ee..0000000000 --- a/testsuites/mptests/mp06/node2/mp06-node2.scn +++ /dev/null @@ -1,14 +0,0 @@ -*** 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 -.................................................... -.................................................... -Flushing RTEMS_EVENT_16 -Waiting for RTEMS_EVENT_16 -rtems_event_receive - correctly returned RTEMS_TIMEOUT -*** END OF TEST 6 *** - diff --git a/testsuites/mptests/mp07/mp07-node1.doc b/testsuites/mptests/mp07/mp07-node1.doc new file mode 100644 index 0000000000..c66e75c08c --- /dev/null +++ b/testsuites/mptests/mp07/mp07-node1.doc @@ -0,0 +1,42 @@ +# 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.org/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/mp07-node1.scn b/testsuites/mptests/mp07/mp07-node1.scn new file mode 100644 index 0000000000..d348f48612 --- /dev/null +++ b/testsuites/mptests/mp07/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/mp07-node2.doc b/testsuites/mptests/mp07/mp07-node2.doc new file mode 100644 index 0000000000..981286480f --- /dev/null +++ b/testsuites/mptests/mp07/mp07-node2.doc @@ -0,0 +1,9 @@ +# 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.org/license/LICENSE. +# + + diff --git a/testsuites/mptests/mp07/mp07-node2.scn b/testsuites/mptests/mp07/mp07-node2.scn new file mode 100644 index 0000000000..9e361d713c --- /dev/null +++ b/testsuites/mptests/mp07/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/mp07/node1/Makefile.am b/testsuites/mptests/mp07/node1/Makefile.am deleted file mode 100644 index 8a44eb5e2e..0000000000 --- a/testsuites/mptests/mp07/node1/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -rtems_tests_PROGRAMS = mp07-node1 -mp07_node1_SOURCES = ../init.c ../task1.c ../system.h - -dist_rtems_tests_DATA = mp07-node1.scn -dist_rtems_tests_DATA += mp07-node1.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp07_node1_OBJECTS) -LINK_LIBS = $(mp07_node1_LDLIBS) - -mp07-node1$(EXEEXT): $(mp07_node1_OBJECTS) $(mp07_node1_DEPENDENCIES) - @rm -f mp07-node1$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp07/node1/mp07-node1.doc b/testsuites/mptests/mp07/node1/mp07-node1.doc deleted file mode 100644 index c66e75c08c..0000000000 --- a/testsuites/mptests/mp07/node1/mp07-node1.doc +++ /dev/null @@ -1,42 +0,0 @@ -# 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.org/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 deleted file mode 100644 index d348f48612..0000000000 --- a/testsuites/mptests/mp07/node1/mp07-node1.scn +++ /dev/null @@ -1,10 +0,0 @@ -*** 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/Makefile.am b/testsuites/mptests/mp07/node2/Makefile.am deleted file mode 100644 index 636ef982aa..0000000000 --- a/testsuites/mptests/mp07/node2/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -rtems_tests_PROGRAMS = mp07-node2 -mp07_node2_SOURCES = ../init.c ../task1.c ../system.h - -dist_rtems_tests_DATA = mp07-node2.scn -dist_rtems_tests_DATA += mp07-node2.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp07_node2_OBJECTS) -LINK_LIBS = $(mp07_node2_LDLIBS) - -mp07-node2$(EXEEXT): $(mp07_node2_OBJECTS) $(mp07_node2_DEPENDENCIES) - @rm -f mp07-node2$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp07/node2/mp07-node2.doc b/testsuites/mptests/mp07/node2/mp07-node2.doc deleted file mode 100644 index 981286480f..0000000000 --- a/testsuites/mptests/mp07/node2/mp07-node2.doc +++ /dev/null @@ -1,9 +0,0 @@ -# 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.org/license/LICENSE. -# - - diff --git a/testsuites/mptests/mp07/node2/mp07-node2.scn b/testsuites/mptests/mp07/node2/mp07-node2.scn deleted file mode 100644 index 9e361d713c..0000000000 --- a/testsuites/mptests/mp07/node2/mp07-node2.scn +++ /dev/null @@ -1,9 +0,0 @@ -*** 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/mp08-node1.doc b/testsuites/mptests/mp08/mp08-node1.doc new file mode 100644 index 0000000000..f71bc3c1a3 --- /dev/null +++ b/testsuites/mptests/mp08/mp08-node1.doc @@ -0,0 +1,48 @@ +# 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.org/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/mp08-node1.scn b/testsuites/mptests/mp08/mp08-node1.scn new file mode 100644 index 0000000000..cde263420c --- /dev/null +++ b/testsuites/mptests/mp08/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/mp08-node2.doc b/testsuites/mptests/mp08/mp08-node2.doc new file mode 100644 index 0000000000..981286480f --- /dev/null +++ b/testsuites/mptests/mp08/mp08-node2.doc @@ -0,0 +1,9 @@ +# 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.org/license/LICENSE. +# + + diff --git a/testsuites/mptests/mp08/mp08-node2.scn b/testsuites/mptests/mp08/mp08-node2.scn new file mode 100644 index 0000000000..5a613f45e5 --- /dev/null +++ b/testsuites/mptests/mp08/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/mp08/node1/Makefile.am b/testsuites/mptests/mp08/node1/Makefile.am deleted file mode 100644 index c2857cba3a..0000000000 --- a/testsuites/mptests/mp08/node1/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -rtems_tests_PROGRAMS = mp08-node1 -mp08_node1_SOURCES = ../init.c ../task1.c ../system.h - -dist_rtems_tests_DATA = mp08-node1.scn -dist_rtems_tests_DATA += mp08-node1.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp08_node1_OBJECTS) -LINK_LIBS = $(mp08_node1_LDLIBS) - -mp08-node1$(EXEEXT): $(mp08_node1_OBJECTS) $(mp08_node1_DEPENDENCIES) - @rm -f mp08-node1$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp08/node1/mp08-node1.doc b/testsuites/mptests/mp08/node1/mp08-node1.doc deleted file mode 100644 index f71bc3c1a3..0000000000 --- a/testsuites/mptests/mp08/node1/mp08-node1.doc +++ /dev/null @@ -1,48 +0,0 @@ -# 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.org/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 deleted file mode 100644 index cde263420c..0000000000 --- a/testsuites/mptests/mp08/node1/mp08-node1.scn +++ /dev/null @@ -1,11 +0,0 @@ -*** 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/Makefile.am b/testsuites/mptests/mp08/node2/Makefile.am deleted file mode 100644 index 445bf03398..0000000000 --- a/testsuites/mptests/mp08/node2/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -rtems_tests_PROGRAMS = mp08-node2 -mp08_node2_SOURCES = ../init.c ../task1.c ../system.h - -dist_rtems_tests_DATA = mp08-node2.scn -dist_rtems_tests_DATA += mp08-node2.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp08_node2_OBJECTS) -LINK_LIBS = $(mp08_node2_LDLIBS) - -mp08-node2$(EXEEXT): $(mp08_node2_OBJECTS) $(mp08_node2_DEPENDENCIES) - @rm -f mp08-node2$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp08/node2/mp08-node2.doc b/testsuites/mptests/mp08/node2/mp08-node2.doc deleted file mode 100644 index 981286480f..0000000000 --- a/testsuites/mptests/mp08/node2/mp08-node2.doc +++ /dev/null @@ -1,9 +0,0 @@ -# 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.org/license/LICENSE. -# - - diff --git a/testsuites/mptests/mp08/node2/mp08-node2.scn b/testsuites/mptests/mp08/node2/mp08-node2.scn deleted file mode 100644 index 5a613f45e5..0000000000 --- a/testsuites/mptests/mp08/node2/mp08-node2.scn +++ /dev/null @@ -1,12 +0,0 @@ -*** 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/mp09-node1.doc b/testsuites/mptests/mp09/mp09-node1.doc new file mode 100644 index 0000000000..fce639b0f8 --- /dev/null +++ b/testsuites/mptests/mp09/mp09-node1.doc @@ -0,0 +1,46 @@ +# 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.org/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/mp09-node1.scn b/testsuites/mptests/mp09/mp09-node1.scn new file mode 100644 index 0000000000..74cf06904d --- /dev/null +++ b/testsuites/mptests/mp09/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/mp09-node2.doc b/testsuites/mptests/mp09/mp09-node2.doc new file mode 100644 index 0000000000..981286480f --- /dev/null +++ b/testsuites/mptests/mp09/mp09-node2.doc @@ -0,0 +1,9 @@ +# 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.org/license/LICENSE. +# + + diff --git a/testsuites/mptests/mp09/mp09-node2.scn b/testsuites/mptests/mp09/mp09-node2.scn new file mode 100644 index 0000000000..1bd17cecd9 --- /dev/null +++ b/testsuites/mptests/mp09/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/mp09/node1/Makefile.am b/testsuites/mptests/mp09/node1/Makefile.am deleted file mode 100644 index f3b3d114de..0000000000 --- a/testsuites/mptests/mp09/node1/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -rtems_tests_PROGRAMS = mp09-node1 -mp09_node1_SOURCES = ../init.c ../task1.c ../recvmsg.c ../sendmsg.c ../system.h - -dist_rtems_tests_DATA = mp09-node1.scn -dist_rtems_tests_DATA += mp09-node1.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp09_node1_OBJECTS) -LINK_LIBS = $(mp09_node1_LDLIBS) - -mp09-node1$(EXEEXT): $(mp09_node1_OBJECTS) $(mp09_node1_DEPENDENCIES) - @rm -f mp09-node1$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp09/node1/mp09-node1.doc b/testsuites/mptests/mp09/node1/mp09-node1.doc deleted file mode 100644 index fce639b0f8..0000000000 --- a/testsuites/mptests/mp09/node1/mp09-node1.doc +++ /dev/null @@ -1,46 +0,0 @@ -# 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.org/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 deleted file mode 100644 index 74cf06904d..0000000000 --- a/testsuites/mptests/mp09/node1/mp09-node1.scn +++ /dev/null @@ -1,22 +0,0 @@ -*** 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/Makefile.am b/testsuites/mptests/mp09/node2/Makefile.am deleted file mode 100644 index 7c7eeb6b74..0000000000 --- a/testsuites/mptests/mp09/node2/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -rtems_tests_PROGRAMS = mp09-node2 -mp09_node2_SOURCES = ../init.c ../task1.c ../recvmsg.c ../sendmsg.c ../system.h - -dist_rtems_tests_DATA = mp09-node2.scn -dist_rtems_tests_DATA += mp09-node2.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp09_node2_OBJECTS) -LINK_LIBS = $(mp09_node2_LDLIBS) - -mp09-node2$(EXEEXT): $(mp09_node2_OBJECTS) $(mp09_node2_DEPENDENCIES) - @rm -f mp09-node2$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp09/node2/mp09-node2.doc b/testsuites/mptests/mp09/node2/mp09-node2.doc deleted file mode 100644 index 981286480f..0000000000 --- a/testsuites/mptests/mp09/node2/mp09-node2.doc +++ /dev/null @@ -1,9 +0,0 @@ -# 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.org/license/LICENSE. -# - - diff --git a/testsuites/mptests/mp09/node2/mp09-node2.scn b/testsuites/mptests/mp09/node2/mp09-node2.scn deleted file mode 100644 index 1bd17cecd9..0000000000 --- a/testsuites/mptests/mp09/node2/mp09-node2.scn +++ /dev/null @@ -1,27 +0,0 @@ -*** 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/mp10-node1.doc b/testsuites/mptests/mp10/mp10-node1.doc new file mode 100644 index 0000000000..fc926b0519 --- /dev/null +++ b/testsuites/mptests/mp10/mp10-node1.doc @@ -0,0 +1,42 @@ +# 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.org/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/mp10-node1.scn b/testsuites/mptests/mp10/mp10-node1.scn new file mode 100644 index 0000000000..deeafc0a9a --- /dev/null +++ b/testsuites/mptests/mp10/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/mp10-node2.doc b/testsuites/mptests/mp10/mp10-node2.doc new file mode 100644 index 0000000000..981286480f --- /dev/null +++ b/testsuites/mptests/mp10/mp10-node2.doc @@ -0,0 +1,9 @@ +# 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.org/license/LICENSE. +# + + diff --git a/testsuites/mptests/mp10/mp10-node2.scn b/testsuites/mptests/mp10/mp10-node2.scn new file mode 100644 index 0000000000..25c07e6202 --- /dev/null +++ b/testsuites/mptests/mp10/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/mp10/node1/Makefile.am b/testsuites/mptests/mp10/node1/Makefile.am deleted file mode 100644 index 54b190071e..0000000000 --- a/testsuites/mptests/mp10/node1/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -rtems_tests_PROGRAMS = mp10-node1 -mp10_node1_SOURCES = ../init.c ../task1.c ../task2.c ../task3.c ../system.h - -dist_rtems_tests_DATA = mp10-node1.scn -dist_rtems_tests_DATA += mp10-node1.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp10_node1_OBJECTS) -LINK_LIBS = $(mp10_node1_LDLIBS) - -mp10-node1$(EXEEXT): $(mp10_node1_OBJECTS) $(mp10_node1_DEPENDENCIES) - @rm -f mp10-node1$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp10/node1/mp10-node1.doc b/testsuites/mptests/mp10/node1/mp10-node1.doc deleted file mode 100644 index fc926b0519..0000000000 --- a/testsuites/mptests/mp10/node1/mp10-node1.doc +++ /dev/null @@ -1,42 +0,0 @@ -# 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.org/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 deleted file mode 100644 index deeafc0a9a..0000000000 --- a/testsuites/mptests/mp10/node1/mp10-node1.scn +++ /dev/null @@ -1,4 +0,0 @@ -*** TEST 10 -- NODE 1 *** -Creating Message Queue (Global) -Creating Semaphore (Global) -*** END OF TEST 10 *** diff --git a/testsuites/mptests/mp10/node2/Makefile.am b/testsuites/mptests/mp10/node2/Makefile.am deleted file mode 100644 index 86ccb574cd..0000000000 --- a/testsuites/mptests/mp10/node2/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -rtems_tests_PROGRAMS = mp10-node2 -mp10_node2_SOURCES = ../init.c ../task1.c ../task2.c ../task3.c ../system.h - -dist_rtems_tests_DATA = mp10-node2.scn -dist_rtems_tests_DATA += mp10-node2.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp10_node2_OBJECTS) -LINK_LIBS = $(mp10_node2_LDLIBS) - -mp10-node2$(EXEEXT): $(mp10_node2_OBJECTS) $(mp10_node2_DEPENDENCIES) - @rm -f mp10-node2$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp10/node2/mp10-node2.doc b/testsuites/mptests/mp10/node2/mp10-node2.doc deleted file mode 100644 index 981286480f..0000000000 --- a/testsuites/mptests/mp10/node2/mp10-node2.doc +++ /dev/null @@ -1,9 +0,0 @@ -# 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.org/license/LICENSE. -# - - diff --git a/testsuites/mptests/mp10/node2/mp10-node2.scn b/testsuites/mptests/mp10/node2/mp10-node2.scn deleted file mode 100644 index 25c07e6202..0000000000 --- a/testsuites/mptests/mp10/node2/mp10-node2.scn +++ /dev/null @@ -1,19 +0,0 @@ -*** 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/mp11-node1.doc b/testsuites/mptests/mp11/mp11-node1.doc new file mode 100644 index 0000000000..0722980766 --- /dev/null +++ b/testsuites/mptests/mp11/mp11-node1.doc @@ -0,0 +1,38 @@ +# 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.org/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/mp11-node1.scn b/testsuites/mptests/mp11/mp11-node1.scn new file mode 100644 index 0000000000..fb26583852 --- /dev/null +++ b/testsuites/mptests/mp11/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/mp11-node2.doc b/testsuites/mptests/mp11/mp11-node2.doc new file mode 100644 index 0000000000..981286480f --- /dev/null +++ b/testsuites/mptests/mp11/mp11-node2.doc @@ -0,0 +1,9 @@ +# 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.org/license/LICENSE. +# + + diff --git a/testsuites/mptests/mp11/mp11-node2.scn b/testsuites/mptests/mp11/mp11-node2.scn new file mode 100644 index 0000000000..49bd8a3219 --- /dev/null +++ b/testsuites/mptests/mp11/mp11-node2.scn @@ -0,0 +1,2 @@ +*** TEST 11 -- NODE 2 *** +*** END OF TEST 11 *** diff --git a/testsuites/mptests/mp11/node1/Makefile.am b/testsuites/mptests/mp11/node1/Makefile.am deleted file mode 100644 index 3a4d70ffb8..0000000000 --- a/testsuites/mptests/mp11/node1/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -rtems_tests_PROGRAMS = mp11-node1 -mp11_node1_SOURCES = ../init.c ../system.h - -dist_rtems_tests_DATA = mp11-node1.scn -dist_rtems_tests_DATA += mp11-node1.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp11_node1_OBJECTS) -LINK_LIBS = $(mp11_node1_LDLIBS) - -mp11-node1$(EXEEXT): $(mp11_node1_OBJECTS) $(mp11_node1_DEPENDENCIES) - @rm -f mp11-node1$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp11/node1/mp11-node1.doc b/testsuites/mptests/mp11/node1/mp11-node1.doc deleted file mode 100644 index 0722980766..0000000000 --- a/testsuites/mptests/mp11/node1/mp11-node1.doc +++ /dev/null @@ -1,38 +0,0 @@ -# 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.org/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 deleted file mode 100644 index fb26583852..0000000000 --- a/testsuites/mptests/mp11/node1/mp11-node1.scn +++ /dev/null @@ -1,10 +0,0 @@ -*** 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/Makefile.am b/testsuites/mptests/mp11/node2/Makefile.am deleted file mode 100644 index 852b730068..0000000000 --- a/testsuites/mptests/mp11/node2/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -rtems_tests_PROGRAMS = mp11-node2 -mp11_node2_SOURCES = ../init.c ../system.h - -dist_rtems_tests_DATA = mp11-node2.scn -dist_rtems_tests_DATA += mp11-node2.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp11_node2_OBJECTS) -LINK_LIBS = $(mp11_node2_LDLIBS) - -mp11-node2$(EXEEXT): $(mp11_node2_OBJECTS) $(mp11_node2_DEPENDENCIES) - @rm -f mp11-node2$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp11/node2/mp11-node2.doc b/testsuites/mptests/mp11/node2/mp11-node2.doc deleted file mode 100644 index 981286480f..0000000000 --- a/testsuites/mptests/mp11/node2/mp11-node2.doc +++ /dev/null @@ -1,9 +0,0 @@ -# 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.org/license/LICENSE. -# - - diff --git a/testsuites/mptests/mp11/node2/mp11-node2.scn b/testsuites/mptests/mp11/node2/mp11-node2.scn deleted file mode 100644 index 49bd8a3219..0000000000 --- a/testsuites/mptests/mp11/node2/mp11-node2.scn +++ /dev/null @@ -1,2 +0,0 @@ -*** TEST 11 -- NODE 2 *** -*** END OF TEST 11 *** diff --git a/testsuites/mptests/mp12/mp12-node1.doc b/testsuites/mptests/mp12/mp12-node1.doc new file mode 100644 index 0000000000..e655bfdff8 --- /dev/null +++ b/testsuites/mptests/mp12/mp12-node1.doc @@ -0,0 +1,48 @@ +# 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.org/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/mp12-node1.scn b/testsuites/mptests/mp12/mp12-node1.scn new file mode 100644 index 0000000000..605a2c11db --- /dev/null +++ b/testsuites/mptests/mp12/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/mp12-node2.doc b/testsuites/mptests/mp12/mp12-node2.doc new file mode 100644 index 0000000000..981286480f --- /dev/null +++ b/testsuites/mptests/mp12/mp12-node2.doc @@ -0,0 +1,9 @@ +# 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.org/license/LICENSE. +# + + diff --git a/testsuites/mptests/mp12/mp12-node2.scn b/testsuites/mptests/mp12/mp12-node2.scn new file mode 100644 index 0000000000..c0f85df6cb --- /dev/null +++ b/testsuites/mptests/mp12/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/mp12/node1/Makefile.am b/testsuites/mptests/mp12/node1/Makefile.am deleted file mode 100644 index b72e938793..0000000000 --- a/testsuites/mptests/mp12/node1/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -rtems_tests_PROGRAMS = mp12-node1 -mp12_node1_SOURCES = ../init.c ../system.h - -dist_rtems_tests_DATA = mp12-node1.scn -dist_rtems_tests_DATA += mp12-node1.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp12_node1_OBJECTS) -LINK_LIBS = $(mp12_node1_LDLIBS) - -mp12-node1$(EXEEXT): $(mp12_node1_OBJECTS) $(mp12_node1_DEPENDENCIES) - @rm -f mp12-node1$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp12/node1/mp12-node1.doc b/testsuites/mptests/mp12/node1/mp12-node1.doc deleted file mode 100644 index e655bfdff8..0000000000 --- a/testsuites/mptests/mp12/node1/mp12-node1.doc +++ /dev/null @@ -1,48 +0,0 @@ -# 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.org/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 deleted file mode 100644 index 605a2c11db..0000000000 --- a/testsuites/mptests/mp12/node1/mp12-node1.scn +++ /dev/null @@ -1,6 +0,0 @@ -*** 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/Makefile.am b/testsuites/mptests/mp12/node2/Makefile.am deleted file mode 100644 index a2f6036bae..0000000000 --- a/testsuites/mptests/mp12/node2/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -rtems_tests_PROGRAMS = mp12-node2 -mp12_node2_SOURCES = ../init.c ../system.h - -dist_rtems_tests_DATA = mp12-node2.scn -dist_rtems_tests_DATA += mp12-node2.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp12_node2_OBJECTS) -LINK_LIBS = $(mp12_node2_LDLIBS) - -mp12-node2$(EXEEXT): $(mp12_node2_OBJECTS) $(mp12_node2_DEPENDENCIES) - @rm -f mp12-node2$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp12/node2/mp12-node2.doc b/testsuites/mptests/mp12/node2/mp12-node2.doc deleted file mode 100644 index 981286480f..0000000000 --- a/testsuites/mptests/mp12/node2/mp12-node2.doc +++ /dev/null @@ -1,9 +0,0 @@ -# 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.org/license/LICENSE. -# - - diff --git a/testsuites/mptests/mp12/node2/mp12-node2.scn b/testsuites/mptests/mp12/node2/mp12-node2.scn deleted file mode 100644 index c0f85df6cb..0000000000 --- a/testsuites/mptests/mp12/node2/mp12-node2.scn +++ /dev/null @@ -1,10 +0,0 @@ -*** 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/mp13-node1.doc b/testsuites/mptests/mp13/mp13-node1.doc new file mode 100644 index 0000000000..2033d6e8b9 --- /dev/null +++ b/testsuites/mptests/mp13/mp13-node1.doc @@ -0,0 +1,44 @@ +# 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.org/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/mp13-node1.scn b/testsuites/mptests/mp13/mp13-node1.scn new file mode 100644 index 0000000000..d3bd11f65e --- /dev/null +++ b/testsuites/mptests/mp13/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/mp13-node2.doc b/testsuites/mptests/mp13/mp13-node2.doc new file mode 100644 index 0000000000..981286480f --- /dev/null +++ b/testsuites/mptests/mp13/mp13-node2.doc @@ -0,0 +1,9 @@ +# 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.org/license/LICENSE. +# + + diff --git a/testsuites/mptests/mp13/mp13-node2.scn b/testsuites/mptests/mp13/mp13-node2.scn new file mode 100644 index 0000000000..e9df202a94 --- /dev/null +++ b/testsuites/mptests/mp13/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/mp13/node1/Makefile.am b/testsuites/mptests/mp13/node1/Makefile.am deleted file mode 100644 index ea5c2283d8..0000000000 --- a/testsuites/mptests/mp13/node1/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -rtems_tests_PROGRAMS = mp13-node1 -mp13_node1_SOURCES = ../init.c ../task1.c ../task2.c ../system.h - -dist_rtems_tests_DATA = mp13-node1.scn -dist_rtems_tests_DATA += mp13-node1.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp13_node1_OBJECTS) -LINK_LIBS = $(mp13_node1_LDLIBS) - -mp13-node1$(EXEEXT): $(mp13_node1_OBJECTS) $(mp13_node1_DEPENDENCIES) - @rm -f mp13-node1$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp13/node1/mp13-node1.doc b/testsuites/mptests/mp13/node1/mp13-node1.doc deleted file mode 100644 index 2033d6e8b9..0000000000 --- a/testsuites/mptests/mp13/node1/mp13-node1.doc +++ /dev/null @@ -1,44 +0,0 @@ -# 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.org/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 deleted file mode 100644 index d3bd11f65e..0000000000 --- a/testsuites/mptests/mp13/node1/mp13-node1.scn +++ /dev/null @@ -1,14 +0,0 @@ -*** 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/Makefile.am b/testsuites/mptests/mp13/node2/Makefile.am deleted file mode 100644 index f237c5cf0e..0000000000 --- a/testsuites/mptests/mp13/node2/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -rtems_tests_PROGRAMS = mp13-node2 -mp13_node2_SOURCES = ../init.c ../task1.c ../task2.c ../system.h - -dist_rtems_tests_DATA = mp13-node2.scn -dist_rtems_tests_DATA += mp13-node2.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp13_node2_OBJECTS) -LINK_LIBS = $(mp13_node2_LDLIBS) - -mp13-node2$(EXEEXT): $(mp13_node2_OBJECTS) $(mp13_node2_DEPENDENCIES) - @rm -f mp13-node2$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp13/node2/mp13-node2.doc b/testsuites/mptests/mp13/node2/mp13-node2.doc deleted file mode 100644 index 981286480f..0000000000 --- a/testsuites/mptests/mp13/node2/mp13-node2.doc +++ /dev/null @@ -1,9 +0,0 @@ -# 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.org/license/LICENSE. -# - - diff --git a/testsuites/mptests/mp13/node2/mp13-node2.scn b/testsuites/mptests/mp13/node2/mp13-node2.scn deleted file mode 100644 index e9df202a94..0000000000 --- a/testsuites/mptests/mp13/node2/mp13-node2.scn +++ /dev/null @@ -1,16 +0,0 @@ -*** 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/mp14-node1.doc b/testsuites/mptests/mp14/mp14-node1.doc new file mode 100644 index 0000000000..3a9e7c6c4e --- /dev/null +++ b/testsuites/mptests/mp14/mp14-node1.doc @@ -0,0 +1,46 @@ +# 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.org/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/mp14-node1.scn b/testsuites/mptests/mp14/mp14-node1.scn new file mode 100644 index 0000000000..f57c4f47b3 --- /dev/null +++ b/testsuites/mptests/mp14/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/mp14-node2.doc b/testsuites/mptests/mp14/mp14-node2.doc new file mode 100644 index 0000000000..981286480f --- /dev/null +++ b/testsuites/mptests/mp14/mp14-node2.doc @@ -0,0 +1,9 @@ +# 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.org/license/LICENSE. +# + + diff --git a/testsuites/mptests/mp14/mp14-node2.scn b/testsuites/mptests/mp14/mp14-node2.scn new file mode 100644 index 0000000000..d128c870e9 --- /dev/null +++ b/testsuites/mptests/mp14/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. + diff --git a/testsuites/mptests/mp14/node1/Makefile.am b/testsuites/mptests/mp14/node1/Makefile.am deleted file mode 100644 index e233978eb2..0000000000 --- a/testsuites/mptests/mp14/node1/Makefile.am +++ /dev/null @@ -1,24 +0,0 @@ -rtems_tests_PROGRAMS = mp14-node1 -mp14_node1_SOURCES = ../exit.c ../init.c ../delay.c ../evtask1.c ../evtmtask.c \ - ../pttask1.c ../smtask1.c ../msgtask1.c ../system.h - -dist_rtems_tests_DATA = mp14-node1.scn -dist_rtems_tests_DATA += mp14-node1.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. -AM_CPPFLAGS += -DMAX_LONG_TEST_DURATION=$(MAX_LONG_TEST_DURATION) - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp14_node1_OBJECTS) -LINK_LIBS = $(mp14_node1_LDLIBS) - -mp14-node1$(EXEEXT): $(mp14_node1_OBJECTS) $(mp14_node1_DEPENDENCIES) - @rm -f mp14-node1$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp14/node1/mp14-node1.doc b/testsuites/mptests/mp14/node1/mp14-node1.doc deleted file mode 100644 index 3a9e7c6c4e..0000000000 --- a/testsuites/mptests/mp14/node1/mp14-node1.doc +++ /dev/null @@ -1,46 +0,0 @@ -# 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.org/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 deleted file mode 100644 index f57c4f47b3..0000000000 --- a/testsuites/mptests/mp14/node1/mp14-node1.scn +++ /dev/null @@ -1,41 +0,0 @@ -*** 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/Makefile.am b/testsuites/mptests/mp14/node2/Makefile.am deleted file mode 100644 index 832462b86a..0000000000 --- a/testsuites/mptests/mp14/node2/Makefile.am +++ /dev/null @@ -1,24 +0,0 @@ -rtems_tests_PROGRAMS = mp14-node2 -mp14_node2_SOURCES = ../exit.c ../init.c ../delay.c ../evtask1.c ../evtmtask.c \ - ../pttask1.c ../smtask1.c ../msgtask1.c ../system.h - -dist_rtems_tests_DATA = mp14-node2.scn -dist_rtems_tests_DATA += mp14-node2.doc - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am - -AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. -AM_CPPFLAGS += -DMAX_LONG_TEST_DURATION=$(MAX_LONG_TEST_DURATION) - -AM_CPPFLAGS += -I$(top_srcdir)/../support/include - -LINK_OBJS = $(mp14_node2_OBJECTS) -LINK_LIBS = $(mp14_node2_LDLIBS) - -mp14-node2$(EXEEXT): $(mp14_node2_OBJECTS) $(mp14_node2_DEPENDENCIES) - @rm -f mp14-node2$(EXEEXT) - $(make-exe) - -include $(top_srcdir)/../automake/local.am diff --git a/testsuites/mptests/mp14/node2/mp14-node2.doc b/testsuites/mptests/mp14/node2/mp14-node2.doc deleted file mode 100644 index 981286480f..0000000000 --- a/testsuites/mptests/mp14/node2/mp14-node2.doc +++ /dev/null @@ -1,9 +0,0 @@ -# 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.org/license/LICENSE. -# - - diff --git a/testsuites/mptests/mp14/node2/mp14-node2.scn b/testsuites/mptests/mp14/node2/mp14-node2.scn deleted file mode 100644 index d128c870e9..0000000000 --- a/testsuites/mptests/mp14/node2/mp14-node2.scn +++ /dev/null @@ -1,38 +0,0 @@ -*** 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