From 1fca16659754d1e7c0ac12a81bd24003dbc80c56 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 27 Nov 2019 11:41:06 +0100 Subject: testsuites/ada: Introduce init.c files Provide an init.c for each Ada test instead of the #include magic which works only due to hand crafted include paths. Update #3818. --- testsuites/ada/mptests/mp01/config_base.h | 2 +- testsuites/ada/mptests/mp01/node1/Makefile.am | 2 +- testsuites/ada/mptests/mp01/node1/config.h | 21 ---- testsuites/ada/mptests/mp01/node1/init.c | 21 ++++ testsuites/ada/mptests/mp01/node2/Makefile.am | 2 +- testsuites/ada/mptests/mp01/node2/config.h | 21 ---- testsuites/ada/mptests/mp01/node2/init.c | 21 ++++ testsuites/ada/mptests/mp03/config_base.h | 2 +- testsuites/ada/mptests/mp03/node1/Makefile.am | 2 +- testsuites/ada/mptests/mp03/node1/config.h | 21 ---- testsuites/ada/mptests/mp03/node1/init.c | 21 ++++ testsuites/ada/mptests/mp03/node2/Makefile.am | 2 +- testsuites/ada/mptests/mp03/node2/config.h | 21 ---- testsuites/ada/mptests/mp03/node2/init.c | 21 ++++ testsuites/ada/mptests/mp04/config_base.h | 2 +- testsuites/ada/mptests/mp04/node1/Makefile.am | 2 +- testsuites/ada/mptests/mp04/node1/config.h | 21 ---- testsuites/ada/mptests/mp04/node1/init.c | 21 ++++ testsuites/ada/mptests/mp04/node2/Makefile.am | 2 +- testsuites/ada/mptests/mp04/node2/config.h | 21 ---- testsuites/ada/mptests/mp04/node2/init.c | 21 ++++ testsuites/ada/mptests/mp05/config_base.h | 2 +- testsuites/ada/mptests/mp05/node1/Makefile.am | 2 +- testsuites/ada/mptests/mp05/node1/config.h | 21 ---- testsuites/ada/mptests/mp05/node1/init.c | 21 ++++ testsuites/ada/mptests/mp05/node2/Makefile.am | 2 +- testsuites/ada/mptests/mp05/node2/config.h | 21 ---- testsuites/ada/mptests/mp05/node2/init.c | 21 ++++ testsuites/ada/mptests/mp06/config_base.h | 2 +- testsuites/ada/mptests/mp06/node1/Makefile.am | 2 +- testsuites/ada/mptests/mp06/node1/config.h | 21 ---- testsuites/ada/mptests/mp06/node1/init.c | 21 ++++ testsuites/ada/mptests/mp06/node2/Makefile.am | 2 +- testsuites/ada/mptests/mp06/node2/config.h | 21 ---- testsuites/ada/mptests/mp06/node2/init.c | 21 ++++ testsuites/ada/mptests/mp07/config_base.h | 2 +- testsuites/ada/mptests/mp07/node1/Makefile.am | 2 +- testsuites/ada/mptests/mp07/node1/config.h | 21 ---- testsuites/ada/mptests/mp07/node1/init.c | 21 ++++ testsuites/ada/mptests/mp07/node2/Makefile.am | 2 +- testsuites/ada/mptests/mp07/node2/config.h | 21 ---- testsuites/ada/mptests/mp07/node2/init.c | 21 ++++ testsuites/ada/mptests/mp08/config_base.h | 2 +- testsuites/ada/mptests/mp08/node1/Makefile.am | 2 +- testsuites/ada/mptests/mp08/node1/config.h | 21 ---- testsuites/ada/mptests/mp08/node1/init.c | 21 ++++ testsuites/ada/mptests/mp08/node2/Makefile.am | 2 +- testsuites/ada/mptests/mp08/node2/config.h | 21 ---- testsuites/ada/mptests/mp08/node2/init.c | 21 ++++ testsuites/ada/mptests/mp09/config_base.h | 2 +- testsuites/ada/mptests/mp09/node1/Makefile.am | 2 +- testsuites/ada/mptests/mp09/node1/config.h | 21 ---- testsuites/ada/mptests/mp09/node1/init.c | 21 ++++ testsuites/ada/mptests/mp09/node2/Makefile.am | 2 +- testsuites/ada/mptests/mp09/node2/config.h | 21 ---- testsuites/ada/mptests/mp09/node2/init.c | 21 ++++ testsuites/ada/mptests/mp10/config_base.h | 2 +- testsuites/ada/mptests/mp10/node1/Makefile.am | 2 +- testsuites/ada/mptests/mp10/node1/config.h | 21 ---- testsuites/ada/mptests/mp10/node1/init.c | 21 ++++ testsuites/ada/mptests/mp10/node2/Makefile.am | 2 +- testsuites/ada/mptests/mp10/node2/config.h | 21 ---- testsuites/ada/mptests/mp10/node2/init.c | 21 ++++ testsuites/ada/mptests/mp11/config_base.h | 2 +- testsuites/ada/mptests/mp11/node1/Makefile.am | 2 +- testsuites/ada/mptests/mp11/node1/config.h | 21 ---- testsuites/ada/mptests/mp11/node1/init.c | 21 ++++ testsuites/ada/mptests/mp11/node2/Makefile.am | 2 +- testsuites/ada/mptests/mp11/node2/config.h | 21 ---- testsuites/ada/mptests/mp11/node2/init.c | 21 ++++ testsuites/ada/mptests/mp12/config_base.h | 2 +- testsuites/ada/mptests/mp12/node1/Makefile.am | 2 +- testsuites/ada/mptests/mp12/node1/config.h | 21 ---- testsuites/ada/mptests/mp12/node1/init.c | 21 ++++ testsuites/ada/mptests/mp12/node2/Makefile.am | 2 +- testsuites/ada/mptests/mp12/node2/config.h | 21 ---- testsuites/ada/mptests/mp12/node2/init.c | 21 ++++ testsuites/ada/mptests/mp13/config_base.h | 2 +- testsuites/ada/mptests/mp13/node1/Makefile.am | 2 +- testsuites/ada/mptests/mp13/node1/config.h | 21 ---- testsuites/ada/mptests/mp13/node1/init.c | 21 ++++ testsuites/ada/mptests/mp13/node2/Makefile.am | 2 +- testsuites/ada/mptests/mp13/node2/config.h | 21 ---- testsuites/ada/mptests/mp13/node2/init.c | 21 ++++ testsuites/ada/mptests/mp14/config_base.h | 2 +- testsuites/ada/mptests/mp14/node1/Makefile.am | 2 +- testsuites/ada/mptests/mp14/node1/config.h | 21 ---- testsuites/ada/mptests/mp14/node1/init.c | 21 ++++ testsuites/ada/mptests/mp14/node2/Makefile.am | 2 +- testsuites/ada/mptests/mp14/node2/config.h | 21 ---- testsuites/ada/mptests/mp14/node2/init.c | 21 ++++ testsuites/ada/samples/base_mp/config.h | 36 ------ testsuites/ada/samples/base_mp/init.c | 36 ++++++ testsuites/ada/samples/base_sp/Makefile.am | 2 +- testsuites/ada/samples/base_sp/config.h | 30 ----- testsuites/ada/samples/base_sp/init.c | 30 +++++ testsuites/ada/samples/hello/Makefile.am | 2 +- testsuites/ada/samples/hello/config.h | 33 ------ testsuites/ada/samples/hello/init.c | 33 ++++++ testsuites/ada/samples/nsecs/Makefile.am | 2 +- testsuites/ada/samples/nsecs/config.h | 32 ------ testsuites/ada/samples/nsecs/init.c | 32 ++++++ testsuites/ada/samples/ticker/Makefile.am | 2 +- testsuites/ada/samples/ticker/config.h | 30 ----- testsuites/ada/samples/ticker/init.c | 30 +++++ testsuites/ada/sptests/sp01/Makefile.am | 2 +- testsuites/ada/sptests/sp01/config.h | 30 ----- testsuites/ada/sptests/sp01/init.c | 30 +++++ testsuites/ada/sptests/sp02/Makefile.am | 2 +- testsuites/ada/sptests/sp02/config.h | 30 ----- testsuites/ada/sptests/sp02/init.c | 30 +++++ testsuites/ada/sptests/sp03/Makefile.am | 2 +- testsuites/ada/sptests/sp03/config.h | 30 ----- testsuites/ada/sptests/sp03/init.c | 30 +++++ testsuites/ada/sptests/sp04/Makefile.am | 2 +- testsuites/ada/sptests/sp04/config.h | 33 ------ testsuites/ada/sptests/sp04/init.c | 33 ++++++ testsuites/ada/sptests/sp05/Makefile.am | 2 +- testsuites/ada/sptests/sp05/config.h | 32 ------ testsuites/ada/sptests/sp05/init.c | 32 ++++++ testsuites/ada/sptests/sp06/Makefile.am | 2 +- testsuites/ada/sptests/sp06/config.h | 32 ------ testsuites/ada/sptests/sp06/init.c | 32 ++++++ testsuites/ada/sptests/sp07/Makefile.am | 2 +- testsuites/ada/sptests/sp07/config.h | 33 ------ testsuites/ada/sptests/sp07/init.c | 33 ++++++ testsuites/ada/sptests/sp08/Makefile.am | 2 +- testsuites/ada/sptests/sp08/config.h | 32 ------ testsuites/ada/sptests/sp08/init.c | 32 ++++++ testsuites/ada/sptests/sp09/Makefile.am | 2 +- testsuites/ada/sptests/sp09/config.h | 38 ------- testsuites/ada/sptests/sp09/init.c | 38 +++++++ testsuites/ada/sptests/sp11/Makefile.am | 2 +- testsuites/ada/sptests/sp11/config.h | 32 ------ testsuites/ada/sptests/sp11/init.c | 32 ++++++ testsuites/ada/sptests/sp12/Makefile.am | 2 +- testsuites/ada/sptests/sp12/config.h | 32 ------ testsuites/ada/sptests/sp12/init.c | 32 ++++++ testsuites/ada/sptests/sp13/Makefile.am | 2 +- testsuites/ada/sptests/sp13/config.h | 32 ------ testsuites/ada/sptests/sp13/init.c | 32 ++++++ testsuites/ada/sptests/sp14/Makefile.am | 2 +- testsuites/ada/sptests/sp14/config.h | 32 ------ testsuites/ada/sptests/sp14/init.c | 32 ++++++ testsuites/ada/sptests/sp15/Makefile.am | 2 +- testsuites/ada/sptests/sp15/config.h | 32 ------ testsuites/ada/sptests/sp15/init.c | 32 ++++++ testsuites/ada/sptests/sp16/Makefile.am | 2 +- testsuites/ada/sptests/sp16/config.h | 32 ------ testsuites/ada/sptests/sp16/init.c | 32 ++++++ testsuites/ada/sptests/sp17/Makefile.am | 2 +- testsuites/ada/sptests/sp17/config.h | 32 ------ testsuites/ada/sptests/sp17/init.c | 32 ++++++ testsuites/ada/sptests/sp19/Makefile.am | 2 +- testsuites/ada/sptests/sp19/config.h | 30 ----- testsuites/ada/sptests/sp19/init.c | 30 +++++ testsuites/ada/sptests/sp20/Makefile.am | 2 +- testsuites/ada/sptests/sp20/config.h | 31 ----- testsuites/ada/sptests/sp20/init.c | 31 +++++ testsuites/ada/sptests/sp22/Makefile.am | 2 +- testsuites/ada/sptests/sp22/config.h | 31 ----- testsuites/ada/sptests/sp22/init.c | 31 +++++ testsuites/ada/sptests/sp23/Makefile.am | 2 +- testsuites/ada/sptests/sp23/config.h | 31 ----- testsuites/ada/sptests/sp23/init.c | 31 +++++ testsuites/ada/sptests/sp24/Makefile.am | 2 +- testsuites/ada/sptests/sp24/config.h | 31 ----- testsuites/ada/sptests/sp24/init.c | 31 +++++ testsuites/ada/sptests/sp25/Makefile.am | 2 +- testsuites/ada/sptests/sp25/config.h | 31 ----- testsuites/ada/sptests/sp25/init.c | 31 +++++ testsuites/ada/sptests/spatcb01/Makefile.am | 2 +- testsuites/ada/sptests/spatcb01/config.h | 18 --- testsuites/ada/sptests/spatcb01/init.c | 18 +++ testsuites/ada/sptests/spname01/Makefile.am | 2 +- testsuites/ada/sptests/spname01/config.h | 33 ------ testsuites/ada/sptests/spname01/init.c | 33 ++++++ testsuites/ada/support/init.c | 157 -------------------------- testsuites/ada/support/initimpl.h | 157 ++++++++++++++++++++++++++ testsuites/ada/tmtests/tm01/Makefile.am | 2 +- testsuites/ada/tmtests/tm01/config.h | 34 ------ testsuites/ada/tmtests/tm01/init.c | 34 ++++++ testsuites/ada/tmtests/tm02/Makefile.am | 2 +- testsuites/ada/tmtests/tm02/config.h | 35 ------ testsuites/ada/tmtests/tm02/init.c | 35 ++++++ testsuites/ada/tmtests/tm03/Makefile.am | 2 +- testsuites/ada/tmtests/tm03/config.h | 35 ------ testsuites/ada/tmtests/tm03/init.c | 35 ++++++ testsuites/ada/tmtests/tm04/Makefile.am | 2 +- testsuites/ada/tmtests/tm04/config.h | 34 ------ testsuites/ada/tmtests/tm04/init.c | 34 ++++++ testsuites/ada/tmtests/tm05/Makefile.am | 2 +- testsuites/ada/tmtests/tm05/config.h | 35 ------ testsuites/ada/tmtests/tm05/init.c | 35 ++++++ testsuites/ada/tmtests/tm06/Makefile.am | 2 +- testsuites/ada/tmtests/tm06/config.h | 35 ------ testsuites/ada/tmtests/tm06/init.c | 35 ++++++ testsuites/ada/tmtests/tm07/Makefile.am | 2 +- testsuites/ada/tmtests/tm07/config.h | 35 ------ testsuites/ada/tmtests/tm07/init.c | 35 ++++++ testsuites/ada/tmtests/tm08/Makefile.am | 2 +- testsuites/ada/tmtests/tm08/config.h | 35 ------ testsuites/ada/tmtests/tm08/init.c | 35 ++++++ testsuites/ada/tmtests/tm09/Makefile.am | 2 +- testsuites/ada/tmtests/tm09/config.h | 34 ------ testsuites/ada/tmtests/tm09/init.c | 34 ++++++ testsuites/ada/tmtests/tm10/Makefile.am | 2 +- testsuites/ada/tmtests/tm10/config.h | 34 ------ testsuites/ada/tmtests/tm10/init.c | 34 ++++++ testsuites/ada/tmtests/tm11/Makefile.am | 2 +- testsuites/ada/tmtests/tm11/config.h | 34 ------ testsuites/ada/tmtests/tm11/init.c | 34 ++++++ testsuites/ada/tmtests/tm12/Makefile.am | 2 +- testsuites/ada/tmtests/tm12/config.h | 34 ------ testsuites/ada/tmtests/tm12/init.c | 34 ++++++ testsuites/ada/tmtests/tm13/Makefile.am | 2 +- testsuites/ada/tmtests/tm13/config.h | 34 ------ testsuites/ada/tmtests/tm13/init.c | 34 ++++++ testsuites/ada/tmtests/tm14/Makefile.am | 2 +- testsuites/ada/tmtests/tm14/config.h | 34 ------ testsuites/ada/tmtests/tm14/init.c | 34 ++++++ testsuites/ada/tmtests/tm15/Makefile.am | 2 +- testsuites/ada/tmtests/tm15/config.h | 34 ------ testsuites/ada/tmtests/tm15/init.c | 34 ++++++ testsuites/ada/tmtests/tm16/Makefile.am | 2 +- testsuites/ada/tmtests/tm16/config.h | 34 ------ testsuites/ada/tmtests/tm16/init.c | 34 ++++++ testsuites/ada/tmtests/tm17/Makefile.am | 2 +- testsuites/ada/tmtests/tm17/config.h | 34 ------ testsuites/ada/tmtests/tm17/init.c | 34 ++++++ testsuites/ada/tmtests/tm18/Makefile.am | 2 +- testsuites/ada/tmtests/tm18/config.h | 34 ------ testsuites/ada/tmtests/tm18/init.c | 34 ++++++ testsuites/ada/tmtests/tm19/Makefile.am | 2 +- testsuites/ada/tmtests/tm19/config.h | 34 ------ testsuites/ada/tmtests/tm19/init.c | 34 ++++++ testsuites/ada/tmtests/tm20/Makefile.am | 2 +- testsuites/ada/tmtests/tm20/config.h | 35 ------ testsuites/ada/tmtests/tm20/init.c | 35 ++++++ testsuites/ada/tmtests/tm21/Makefile.am | 2 +- testsuites/ada/tmtests/tm21/config.h | 40 ------- testsuites/ada/tmtests/tm21/init.c | 40 +++++++ testsuites/ada/tmtests/tm22/Makefile.am | 2 +- testsuites/ada/tmtests/tm22/config.h | 34 ------ testsuites/ada/tmtests/tm22/init.c | 34 ++++++ testsuites/ada/tmtests/tm23/Makefile.am | 2 +- testsuites/ada/tmtests/tm23/config.h | 34 ------ testsuites/ada/tmtests/tm23/init.c | 34 ++++++ testsuites/ada/tmtests/tm24/Makefile.am | 2 +- testsuites/ada/tmtests/tm24/config.h | 33 ------ testsuites/ada/tmtests/tm24/init.c | 33 ++++++ testsuites/ada/tmtests/tm25/Makefile.am | 2 +- testsuites/ada/tmtests/tm25/config.h | 34 ------ testsuites/ada/tmtests/tm25/init.c | 34 ++++++ testsuites/ada/tmtests/tm28/Makefile.am | 2 +- testsuites/ada/tmtests/tm28/config.h | 34 ------ testsuites/ada/tmtests/tm28/init.c | 34 ++++++ testsuites/ada/tmtests/tm29/Makefile.am | 2 +- testsuites/ada/tmtests/tm29/config.h | 34 ------ testsuites/ada/tmtests/tm29/init.c | 34 ++++++ testsuites/ada/tmtests/tmck/Makefile.am | 2 +- testsuites/ada/tmtests/tmck/config.h | 34 ------ testsuites/ada/tmtests/tmck/init.c | 34 ++++++ testsuites/ada/tmtests/tmoverhd/Makefile.am | 2 +- testsuites/ada/tmtests/tmoverhd/config.h | 34 ------ testsuites/ada/tmtests/tmoverhd/init.c | 34 ++++++ 266 files changed, 2708 insertions(+), 2708 deletions(-) delete mode 100644 testsuites/ada/mptests/mp01/node1/config.h create mode 100644 testsuites/ada/mptests/mp01/node1/init.c delete mode 100644 testsuites/ada/mptests/mp01/node2/config.h create mode 100644 testsuites/ada/mptests/mp01/node2/init.c delete mode 100644 testsuites/ada/mptests/mp03/node1/config.h create mode 100644 testsuites/ada/mptests/mp03/node1/init.c delete mode 100644 testsuites/ada/mptests/mp03/node2/config.h create mode 100644 testsuites/ada/mptests/mp03/node2/init.c delete mode 100644 testsuites/ada/mptests/mp04/node1/config.h create mode 100644 testsuites/ada/mptests/mp04/node1/init.c delete mode 100644 testsuites/ada/mptests/mp04/node2/config.h create mode 100644 testsuites/ada/mptests/mp04/node2/init.c delete mode 100644 testsuites/ada/mptests/mp05/node1/config.h create mode 100644 testsuites/ada/mptests/mp05/node1/init.c delete mode 100644 testsuites/ada/mptests/mp05/node2/config.h create mode 100644 testsuites/ada/mptests/mp05/node2/init.c delete mode 100644 testsuites/ada/mptests/mp06/node1/config.h create mode 100644 testsuites/ada/mptests/mp06/node1/init.c delete mode 100644 testsuites/ada/mptests/mp06/node2/config.h create mode 100644 testsuites/ada/mptests/mp06/node2/init.c delete mode 100644 testsuites/ada/mptests/mp07/node1/config.h create mode 100644 testsuites/ada/mptests/mp07/node1/init.c delete mode 100644 testsuites/ada/mptests/mp07/node2/config.h create mode 100644 testsuites/ada/mptests/mp07/node2/init.c delete mode 100644 testsuites/ada/mptests/mp08/node1/config.h create mode 100644 testsuites/ada/mptests/mp08/node1/init.c delete mode 100644 testsuites/ada/mptests/mp08/node2/config.h create mode 100644 testsuites/ada/mptests/mp08/node2/init.c delete mode 100644 testsuites/ada/mptests/mp09/node1/config.h create mode 100644 testsuites/ada/mptests/mp09/node1/init.c delete mode 100644 testsuites/ada/mptests/mp09/node2/config.h create mode 100644 testsuites/ada/mptests/mp09/node2/init.c delete mode 100644 testsuites/ada/mptests/mp10/node1/config.h create mode 100644 testsuites/ada/mptests/mp10/node1/init.c delete mode 100644 testsuites/ada/mptests/mp10/node2/config.h create mode 100644 testsuites/ada/mptests/mp10/node2/init.c delete mode 100644 testsuites/ada/mptests/mp11/node1/config.h create mode 100644 testsuites/ada/mptests/mp11/node1/init.c delete mode 100644 testsuites/ada/mptests/mp11/node2/config.h create mode 100644 testsuites/ada/mptests/mp11/node2/init.c delete mode 100644 testsuites/ada/mptests/mp12/node1/config.h create mode 100644 testsuites/ada/mptests/mp12/node1/init.c delete mode 100644 testsuites/ada/mptests/mp12/node2/config.h create mode 100644 testsuites/ada/mptests/mp12/node2/init.c delete mode 100644 testsuites/ada/mptests/mp13/node1/config.h create mode 100644 testsuites/ada/mptests/mp13/node1/init.c delete mode 100644 testsuites/ada/mptests/mp13/node2/config.h create mode 100644 testsuites/ada/mptests/mp13/node2/init.c delete mode 100644 testsuites/ada/mptests/mp14/node1/config.h create mode 100644 testsuites/ada/mptests/mp14/node1/init.c delete mode 100644 testsuites/ada/mptests/mp14/node2/config.h create mode 100644 testsuites/ada/mptests/mp14/node2/init.c delete mode 100644 testsuites/ada/samples/base_mp/config.h create mode 100644 testsuites/ada/samples/base_mp/init.c delete mode 100644 testsuites/ada/samples/base_sp/config.h create mode 100644 testsuites/ada/samples/base_sp/init.c delete mode 100644 testsuites/ada/samples/hello/config.h create mode 100644 testsuites/ada/samples/hello/init.c delete mode 100644 testsuites/ada/samples/nsecs/config.h create mode 100644 testsuites/ada/samples/nsecs/init.c delete mode 100644 testsuites/ada/samples/ticker/config.h create mode 100644 testsuites/ada/samples/ticker/init.c delete mode 100644 testsuites/ada/sptests/sp01/config.h create mode 100644 testsuites/ada/sptests/sp01/init.c delete mode 100644 testsuites/ada/sptests/sp02/config.h create mode 100644 testsuites/ada/sptests/sp02/init.c delete mode 100644 testsuites/ada/sptests/sp03/config.h create mode 100644 testsuites/ada/sptests/sp03/init.c delete mode 100644 testsuites/ada/sptests/sp04/config.h create mode 100644 testsuites/ada/sptests/sp04/init.c delete mode 100644 testsuites/ada/sptests/sp05/config.h create mode 100644 testsuites/ada/sptests/sp05/init.c delete mode 100644 testsuites/ada/sptests/sp06/config.h create mode 100644 testsuites/ada/sptests/sp06/init.c delete mode 100644 testsuites/ada/sptests/sp07/config.h create mode 100644 testsuites/ada/sptests/sp07/init.c delete mode 100644 testsuites/ada/sptests/sp08/config.h create mode 100644 testsuites/ada/sptests/sp08/init.c delete mode 100644 testsuites/ada/sptests/sp09/config.h create mode 100644 testsuites/ada/sptests/sp09/init.c delete mode 100644 testsuites/ada/sptests/sp11/config.h create mode 100644 testsuites/ada/sptests/sp11/init.c delete mode 100644 testsuites/ada/sptests/sp12/config.h create mode 100644 testsuites/ada/sptests/sp12/init.c delete mode 100644 testsuites/ada/sptests/sp13/config.h create mode 100644 testsuites/ada/sptests/sp13/init.c delete mode 100644 testsuites/ada/sptests/sp14/config.h create mode 100644 testsuites/ada/sptests/sp14/init.c delete mode 100644 testsuites/ada/sptests/sp15/config.h create mode 100644 testsuites/ada/sptests/sp15/init.c delete mode 100644 testsuites/ada/sptests/sp16/config.h create mode 100644 testsuites/ada/sptests/sp16/init.c delete mode 100644 testsuites/ada/sptests/sp17/config.h create mode 100644 testsuites/ada/sptests/sp17/init.c delete mode 100644 testsuites/ada/sptests/sp19/config.h create mode 100644 testsuites/ada/sptests/sp19/init.c delete mode 100644 testsuites/ada/sptests/sp20/config.h create mode 100644 testsuites/ada/sptests/sp20/init.c delete mode 100644 testsuites/ada/sptests/sp22/config.h create mode 100644 testsuites/ada/sptests/sp22/init.c delete mode 100644 testsuites/ada/sptests/sp23/config.h create mode 100644 testsuites/ada/sptests/sp23/init.c delete mode 100644 testsuites/ada/sptests/sp24/config.h create mode 100644 testsuites/ada/sptests/sp24/init.c delete mode 100644 testsuites/ada/sptests/sp25/config.h create mode 100644 testsuites/ada/sptests/sp25/init.c delete mode 100644 testsuites/ada/sptests/spatcb01/config.h create mode 100644 testsuites/ada/sptests/spatcb01/init.c delete mode 100644 testsuites/ada/sptests/spname01/config.h create mode 100644 testsuites/ada/sptests/spname01/init.c delete mode 100644 testsuites/ada/support/init.c create mode 100644 testsuites/ada/support/initimpl.h delete mode 100644 testsuites/ada/tmtests/tm01/config.h create mode 100644 testsuites/ada/tmtests/tm01/init.c delete mode 100644 testsuites/ada/tmtests/tm02/config.h create mode 100644 testsuites/ada/tmtests/tm02/init.c delete mode 100644 testsuites/ada/tmtests/tm03/config.h create mode 100644 testsuites/ada/tmtests/tm03/init.c delete mode 100644 testsuites/ada/tmtests/tm04/config.h create mode 100644 testsuites/ada/tmtests/tm04/init.c delete mode 100644 testsuites/ada/tmtests/tm05/config.h create mode 100644 testsuites/ada/tmtests/tm05/init.c delete mode 100644 testsuites/ada/tmtests/tm06/config.h create mode 100644 testsuites/ada/tmtests/tm06/init.c delete mode 100644 testsuites/ada/tmtests/tm07/config.h create mode 100644 testsuites/ada/tmtests/tm07/init.c delete mode 100644 testsuites/ada/tmtests/tm08/config.h create mode 100644 testsuites/ada/tmtests/tm08/init.c delete mode 100644 testsuites/ada/tmtests/tm09/config.h create mode 100644 testsuites/ada/tmtests/tm09/init.c delete mode 100644 testsuites/ada/tmtests/tm10/config.h create mode 100644 testsuites/ada/tmtests/tm10/init.c delete mode 100644 testsuites/ada/tmtests/tm11/config.h create mode 100644 testsuites/ada/tmtests/tm11/init.c delete mode 100644 testsuites/ada/tmtests/tm12/config.h create mode 100644 testsuites/ada/tmtests/tm12/init.c delete mode 100644 testsuites/ada/tmtests/tm13/config.h create mode 100644 testsuites/ada/tmtests/tm13/init.c delete mode 100644 testsuites/ada/tmtests/tm14/config.h create mode 100644 testsuites/ada/tmtests/tm14/init.c delete mode 100644 testsuites/ada/tmtests/tm15/config.h create mode 100644 testsuites/ada/tmtests/tm15/init.c delete mode 100644 testsuites/ada/tmtests/tm16/config.h create mode 100644 testsuites/ada/tmtests/tm16/init.c delete mode 100644 testsuites/ada/tmtests/tm17/config.h create mode 100644 testsuites/ada/tmtests/tm17/init.c delete mode 100644 testsuites/ada/tmtests/tm18/config.h create mode 100644 testsuites/ada/tmtests/tm18/init.c delete mode 100644 testsuites/ada/tmtests/tm19/config.h create mode 100644 testsuites/ada/tmtests/tm19/init.c delete mode 100644 testsuites/ada/tmtests/tm20/config.h create mode 100644 testsuites/ada/tmtests/tm20/init.c delete mode 100644 testsuites/ada/tmtests/tm21/config.h create mode 100644 testsuites/ada/tmtests/tm21/init.c delete mode 100644 testsuites/ada/tmtests/tm22/config.h create mode 100644 testsuites/ada/tmtests/tm22/init.c delete mode 100644 testsuites/ada/tmtests/tm23/config.h create mode 100644 testsuites/ada/tmtests/tm23/init.c delete mode 100644 testsuites/ada/tmtests/tm24/config.h create mode 100644 testsuites/ada/tmtests/tm24/init.c delete mode 100644 testsuites/ada/tmtests/tm25/config.h create mode 100644 testsuites/ada/tmtests/tm25/init.c delete mode 100644 testsuites/ada/tmtests/tm28/config.h create mode 100644 testsuites/ada/tmtests/tm28/init.c delete mode 100644 testsuites/ada/tmtests/tm29/config.h create mode 100644 testsuites/ada/tmtests/tm29/init.c delete mode 100644 testsuites/ada/tmtests/tmck/config.h create mode 100644 testsuites/ada/tmtests/tmck/init.c delete mode 100644 testsuites/ada/tmtests/tmoverhd/config.h create mode 100644 testsuites/ada/tmtests/tmoverhd/init.c diff --git a/testsuites/ada/mptests/mp01/config_base.h b/testsuites/ada/mptests/mp01/config_base.h index fca97d644d..8f4dda95b9 100644 --- a/testsuites/ada/mptests/mp01/config_base.h +++ b/testsuites/ada/mptests/mp01/config_base.h @@ -25,6 +25,6 @@ #define CONFIGURE_MAXIMUM_POSIX_THREADS 10 #define CONFIGURE_MAXIMUM_POSIX_KEYS 10 -#include +#include "../../support/initimpl.h" /* end of include file */ diff --git a/testsuites/ada/mptests/mp01/node1/Makefile.am b/testsuites/ada/mptests/mp01/node1/Makefile.am index 7d78a6f9a2..45b7f4b303 100644 --- a/testsuites/ada/mptests/mp01/node1/Makefile.am +++ b/testsuites/ada/mptests/mp01/node1/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp01_ada_mp01_node1 mp01_ada_mp01_node1_SOURCES = mp01_node1.adb ../mptest.adb config.h mp01_ada_mp01_node1_SOURCES += ../mptest.ads -mp01_ada_mp01_node1_SOURCES += ../../../support/init.c +mp01_ada_mp01_node1_SOURCES += init.c mp01_ada_mp01_node1$(EXEEXT): mp01_node1.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp01/node1/config.h b/testsuites/ada/mptests/mp01/node1/config.h deleted file mode 100644 index 36c9d133e8..0000000000 --- a/testsuites/ada/mptests/mp01/node1/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 1 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp01/node1/init.c b/testsuites/ada/mptests/mp01/node1/init.c new file mode 100644 index 0000000000..36c9d133e8 --- /dev/null +++ b/testsuites/ada/mptests/mp01/node1/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 1 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp01/node2/Makefile.am b/testsuites/ada/mptests/mp01/node2/Makefile.am index 907766ed9b..ee654411fb 100644 --- a/testsuites/ada/mptests/mp01/node2/Makefile.am +++ b/testsuites/ada/mptests/mp01/node2/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp01_ada_mp01_node2 mp01_ada_mp01_node2_SOURCES = mp01_node2.adb ../mptest.adb config.h mp01_ada_mp01_node2_SOURCES += ../mptest.ads -mp01_ada_mp01_node2_SOURCES += ../../../support/init.c +mp01_ada_mp01_node2_SOURCES += init.c mp01_ada_mp01_node2$(EXEEXT): mp01_node2.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp01/node2/config.h b/testsuites/ada/mptests/mp01/node2/config.h deleted file mode 100644 index 47edf66149..0000000000 --- a/testsuites/ada/mptests/mp01/node2/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 2 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp01/node2/init.c b/testsuites/ada/mptests/mp01/node2/init.c new file mode 100644 index 0000000000..47edf66149 --- /dev/null +++ b/testsuites/ada/mptests/mp01/node2/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 2 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp03/config_base.h b/testsuites/ada/mptests/mp03/config_base.h index 9a1c49ebaf..ab111cb4d1 100644 --- a/testsuites/ada/mptests/mp03/config_base.h +++ b/testsuites/ada/mptests/mp03/config_base.h @@ -25,6 +25,6 @@ #define CONFIGURE_MAXIMUM_POSIX_THREADS 10 #define CONFIGURE_MAXIMUM_POSIX_KEYS 10 -#include +#include "../../support/initimpl.h" /* end of include file */ diff --git a/testsuites/ada/mptests/mp03/node1/Makefile.am b/testsuites/ada/mptests/mp03/node1/Makefile.am index 679d7a9b9d..4a59642e55 100644 --- a/testsuites/ada/mptests/mp03/node1/Makefile.am +++ b/testsuites/ada/mptests/mp03/node1/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp03_ada_mp03_node1 mp03_ada_mp03_node1_SOURCES = mp03_node1.adb ../mptest.adb config.h mp03_ada_mp03_node1_SOURCES += ../mptest.ads -mp03_ada_mp03_node1_SOURCES += ../../../support/init.c +mp03_ada_mp03_node1_SOURCES += init.c mp03_ada_mp03_node1$(EXEEXT): mp03_node1.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp03/node1/config.h b/testsuites/ada/mptests/mp03/node1/config.h deleted file mode 100644 index 36c9d133e8..0000000000 --- a/testsuites/ada/mptests/mp03/node1/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 1 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp03/node1/init.c b/testsuites/ada/mptests/mp03/node1/init.c new file mode 100644 index 0000000000..36c9d133e8 --- /dev/null +++ b/testsuites/ada/mptests/mp03/node1/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 1 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp03/node2/Makefile.am b/testsuites/ada/mptests/mp03/node2/Makefile.am index 80db1c1c05..7ed6700a83 100644 --- a/testsuites/ada/mptests/mp03/node2/Makefile.am +++ b/testsuites/ada/mptests/mp03/node2/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp03_ada_mp03_node2 mp03_ada_mp03_node2_SOURCES = mp03_node2.adb ../mptest.adb config.h mp03_ada_mp03_node2_SOURCES += ../mptest.ads -mp03_ada_mp03_node2_SOURCES += ../../../support/init.c +mp03_ada_mp03_node2_SOURCES += init.c mp03_ada_mp03_node2$(EXEEXT): mp03_node2.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp03/node2/config.h b/testsuites/ada/mptests/mp03/node2/config.h deleted file mode 100644 index 47edf66149..0000000000 --- a/testsuites/ada/mptests/mp03/node2/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 2 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp03/node2/init.c b/testsuites/ada/mptests/mp03/node2/init.c new file mode 100644 index 0000000000..47edf66149 --- /dev/null +++ b/testsuites/ada/mptests/mp03/node2/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 2 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp04/config_base.h b/testsuites/ada/mptests/mp04/config_base.h index 71aca5305a..ab270747aa 100644 --- a/testsuites/ada/mptests/mp04/config_base.h +++ b/testsuites/ada/mptests/mp04/config_base.h @@ -25,6 +25,6 @@ #define CONFIGURE_MAXIMUM_POSIX_THREADS 10 #define CONFIGURE_MAXIMUM_POSIX_KEYS 10 -#include +#include "../../support/initimpl.h" /* end of include file */ diff --git a/testsuites/ada/mptests/mp04/node1/Makefile.am b/testsuites/ada/mptests/mp04/node1/Makefile.am index 496ff62f96..98c7e19145 100644 --- a/testsuites/ada/mptests/mp04/node1/Makefile.am +++ b/testsuites/ada/mptests/mp04/node1/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp04_ada_mp04_node1 mp04_ada_mp04_node1_SOURCES = mp04_node1.adb ../mptest.adb config.h mp04_ada_mp04_node1_SOURCES += ../mptest.ads -mp04_ada_mp04_node1_SOURCES += ../../../support/init.c +mp04_ada_mp04_node1_SOURCES += init.c mp04_ada_mp04_node1$(EXEEXT): mp04_node1.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp04/node1/config.h b/testsuites/ada/mptests/mp04/node1/config.h deleted file mode 100644 index 36c9d133e8..0000000000 --- a/testsuites/ada/mptests/mp04/node1/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 1 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp04/node1/init.c b/testsuites/ada/mptests/mp04/node1/init.c new file mode 100644 index 0000000000..36c9d133e8 --- /dev/null +++ b/testsuites/ada/mptests/mp04/node1/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 1 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp04/node2/Makefile.am b/testsuites/ada/mptests/mp04/node2/Makefile.am index a2192b11b5..e8cdb3ea8c 100644 --- a/testsuites/ada/mptests/mp04/node2/Makefile.am +++ b/testsuites/ada/mptests/mp04/node2/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp04_ada_mp04_node2 mp04_ada_mp04_node2_SOURCES = mp04_node2.adb ../mptest.adb config.h mp04_ada_mp04_node2_SOURCES += ../mptest.ads -mp04_ada_mp04_node2_SOURCES += ../../../support/init.c +mp04_ada_mp04_node2_SOURCES += init.c mp04_ada_mp04_node2$(EXEEXT): mp04_node2.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp04/node2/config.h b/testsuites/ada/mptests/mp04/node2/config.h deleted file mode 100644 index 47edf66149..0000000000 --- a/testsuites/ada/mptests/mp04/node2/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 2 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp04/node2/init.c b/testsuites/ada/mptests/mp04/node2/init.c new file mode 100644 index 0000000000..47edf66149 --- /dev/null +++ b/testsuites/ada/mptests/mp04/node2/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 2 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp05/config_base.h b/testsuites/ada/mptests/mp05/config_base.h index 2728ab2889..1123c5c63c 100644 --- a/testsuites/ada/mptests/mp05/config_base.h +++ b/testsuites/ada/mptests/mp05/config_base.h @@ -25,6 +25,6 @@ #define CONFIGURE_MAXIMUM_POSIX_THREADS 10 #define CONFIGURE_MAXIMUM_POSIX_KEYS 10 -#include +#include "../../support/initimpl.h" /* end of include file */ diff --git a/testsuites/ada/mptests/mp05/node1/Makefile.am b/testsuites/ada/mptests/mp05/node1/Makefile.am index edae16e1ab..351bad9ec3 100644 --- a/testsuites/ada/mptests/mp05/node1/Makefile.am +++ b/testsuites/ada/mptests/mp05/node1/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp05_ada_mp05_node1 mp05_ada_mp05_node1_SOURCES = mp05_node1.adb ../mptest.adb config.h mp05_ada_mp05_node1_SOURCES += ../mptest.ads -mp05_ada_mp05_node1_SOURCES += ../../../support/init.c +mp05_ada_mp05_node1_SOURCES += init.c mp05_ada_mp05_node1$(EXEEXT): mp05_node1.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp05/node1/config.h b/testsuites/ada/mptests/mp05/node1/config.h deleted file mode 100644 index 36c9d133e8..0000000000 --- a/testsuites/ada/mptests/mp05/node1/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 1 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp05/node1/init.c b/testsuites/ada/mptests/mp05/node1/init.c new file mode 100644 index 0000000000..36c9d133e8 --- /dev/null +++ b/testsuites/ada/mptests/mp05/node1/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 1 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp05/node2/Makefile.am b/testsuites/ada/mptests/mp05/node2/Makefile.am index 06aa7e9812..ca623887e3 100644 --- a/testsuites/ada/mptests/mp05/node2/Makefile.am +++ b/testsuites/ada/mptests/mp05/node2/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp05_ada_mp05_node2 mp05_ada_mp05_node2_SOURCES = mp05_node2.adb ../mptest.adb config.h mp05_ada_mp05_node2_SOURCES += ../mptest.ads -mp05_ada_mp05_node2_SOURCES += ../../../support/init.c +mp05_ada_mp05_node2_SOURCES += init.c mp05_ada_mp05_node2$(EXEEXT): mp05_node2.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp05/node2/config.h b/testsuites/ada/mptests/mp05/node2/config.h deleted file mode 100644 index 47edf66149..0000000000 --- a/testsuites/ada/mptests/mp05/node2/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 2 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp05/node2/init.c b/testsuites/ada/mptests/mp05/node2/init.c new file mode 100644 index 0000000000..47edf66149 --- /dev/null +++ b/testsuites/ada/mptests/mp05/node2/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 2 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp06/config_base.h b/testsuites/ada/mptests/mp06/config_base.h index f3e3972e79..a0259d0a4f 100644 --- a/testsuites/ada/mptests/mp06/config_base.h +++ b/testsuites/ada/mptests/mp06/config_base.h @@ -25,6 +25,6 @@ #define CONFIGURE_MAXIMUM_POSIX_THREADS 10 #define CONFIGURE_MAXIMUM_POSIX_KEYS 10 -#include +#include "../../support/initimpl.h" /* end of include file */ diff --git a/testsuites/ada/mptests/mp06/node1/Makefile.am b/testsuites/ada/mptests/mp06/node1/Makefile.am index 201d17ced5..68771e130c 100644 --- a/testsuites/ada/mptests/mp06/node1/Makefile.am +++ b/testsuites/ada/mptests/mp06/node1/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp06_ada_mp06_node1 mp06_ada_mp06_node1_SOURCES = mp06_node1.adb ../mptest.adb config.h mp06_ada_mp06_node1_SOURCES += ../mptest.ads -mp06_ada_mp06_node1_SOURCES += ../../../support/init.c +mp06_ada_mp06_node1_SOURCES += init.c mp06_ada_mp06_node1$(EXEEXT): mp06_node1.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp06/node1/config.h b/testsuites/ada/mptests/mp06/node1/config.h deleted file mode 100644 index 36c9d133e8..0000000000 --- a/testsuites/ada/mptests/mp06/node1/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 1 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp06/node1/init.c b/testsuites/ada/mptests/mp06/node1/init.c new file mode 100644 index 0000000000..36c9d133e8 --- /dev/null +++ b/testsuites/ada/mptests/mp06/node1/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 1 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp06/node2/Makefile.am b/testsuites/ada/mptests/mp06/node2/Makefile.am index 3df636d170..8e5d4bd553 100644 --- a/testsuites/ada/mptests/mp06/node2/Makefile.am +++ b/testsuites/ada/mptests/mp06/node2/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp06_ada_mp06_node2 mp06_ada_mp06_node2_SOURCES = mp06_node2.adb ../mptest.adb config.h mp06_ada_mp06_node2_SOURCES += ../mptest.ads -mp06_ada_mp06_node2_SOURCES += ../../../support/init.c +mp06_ada_mp06_node2_SOURCES += init.c mp06_ada_mp06_node2$(EXEEXT): mp06_node2.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp06/node2/config.h b/testsuites/ada/mptests/mp06/node2/config.h deleted file mode 100644 index 47edf66149..0000000000 --- a/testsuites/ada/mptests/mp06/node2/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 2 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp06/node2/init.c b/testsuites/ada/mptests/mp06/node2/init.c new file mode 100644 index 0000000000..47edf66149 --- /dev/null +++ b/testsuites/ada/mptests/mp06/node2/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 2 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp07/config_base.h b/testsuites/ada/mptests/mp07/config_base.h index 7df48cd193..51fd613ffe 100644 --- a/testsuites/ada/mptests/mp07/config_base.h +++ b/testsuites/ada/mptests/mp07/config_base.h @@ -25,6 +25,6 @@ #define CONFIGURE_MAXIMUM_POSIX_THREADS 10 #define CONFIGURE_MAXIMUM_POSIX_KEYS 10 -#include +#include "../../support/initimpl.h" /* end of include file */ diff --git a/testsuites/ada/mptests/mp07/node1/Makefile.am b/testsuites/ada/mptests/mp07/node1/Makefile.am index d39a38d786..81bdb18de8 100644 --- a/testsuites/ada/mptests/mp07/node1/Makefile.am +++ b/testsuites/ada/mptests/mp07/node1/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp07_ada_mp07_node1 mp07_ada_mp07_node1_SOURCES = mp07_node1.adb ../mptest.adb config.h mp07_ada_mp07_node1_SOURCES += ../mptest.ads -mp07_ada_mp07_node1_SOURCES += ../../../support/init.c +mp07_ada_mp07_node1_SOURCES += init.c mp07_ada_mp07_node1$(EXEEXT): mp07_node1.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp07/node1/config.h b/testsuites/ada/mptests/mp07/node1/config.h deleted file mode 100644 index 36c9d133e8..0000000000 --- a/testsuites/ada/mptests/mp07/node1/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 1 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp07/node1/init.c b/testsuites/ada/mptests/mp07/node1/init.c new file mode 100644 index 0000000000..36c9d133e8 --- /dev/null +++ b/testsuites/ada/mptests/mp07/node1/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 1 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp07/node2/Makefile.am b/testsuites/ada/mptests/mp07/node2/Makefile.am index acf5e4ac34..4ec3988c2d 100644 --- a/testsuites/ada/mptests/mp07/node2/Makefile.am +++ b/testsuites/ada/mptests/mp07/node2/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp07_ada_mp07_node2 mp07_ada_mp07_node2_SOURCES = mp07_node2.adb ../mptest.adb config.h mp07_ada_mp07_node2_SOURCES += ../mptest.ads -mp07_ada_mp07_node2_SOURCES += ../../../support/init.c +mp07_ada_mp07_node2_SOURCES += init.c mp07_ada_mp07_node2$(EXEEXT): mp07_node2.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp07/node2/config.h b/testsuites/ada/mptests/mp07/node2/config.h deleted file mode 100644 index 47edf66149..0000000000 --- a/testsuites/ada/mptests/mp07/node2/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 2 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp07/node2/init.c b/testsuites/ada/mptests/mp07/node2/init.c new file mode 100644 index 0000000000..47edf66149 --- /dev/null +++ b/testsuites/ada/mptests/mp07/node2/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 2 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp08/config_base.h b/testsuites/ada/mptests/mp08/config_base.h index 74367e7406..f524a4c8d7 100644 --- a/testsuites/ada/mptests/mp08/config_base.h +++ b/testsuites/ada/mptests/mp08/config_base.h @@ -25,6 +25,6 @@ #define CONFIGURE_MAXIMUM_POSIX_THREADS 10 #define CONFIGURE_MAXIMUM_POSIX_KEYS 10 -#include +#include "../../support/initimpl.h" /* end of include file */ diff --git a/testsuites/ada/mptests/mp08/node1/Makefile.am b/testsuites/ada/mptests/mp08/node1/Makefile.am index 2885adbdb7..7ac4d2f394 100644 --- a/testsuites/ada/mptests/mp08/node1/Makefile.am +++ b/testsuites/ada/mptests/mp08/node1/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp08_ada_mp08_node1 mp08_ada_mp08_node1_SOURCES = mp08_node1.adb ../mptest.adb config.h mp08_ada_mp08_node1_SOURCES += ../mptest.ads -mp08_ada_mp08_node1_SOURCES += ../../../support/init.c +mp08_ada_mp08_node1_SOURCES += init.c mp08_ada_mp08_node1$(EXEEXT): mp08_node1.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp08/node1/config.h b/testsuites/ada/mptests/mp08/node1/config.h deleted file mode 100644 index 36c9d133e8..0000000000 --- a/testsuites/ada/mptests/mp08/node1/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 1 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp08/node1/init.c b/testsuites/ada/mptests/mp08/node1/init.c new file mode 100644 index 0000000000..36c9d133e8 --- /dev/null +++ b/testsuites/ada/mptests/mp08/node1/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 1 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp08/node2/Makefile.am b/testsuites/ada/mptests/mp08/node2/Makefile.am index 4f174acea1..6f808f1bb8 100644 --- a/testsuites/ada/mptests/mp08/node2/Makefile.am +++ b/testsuites/ada/mptests/mp08/node2/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp08_ada_mp08_node2 mp08_ada_mp08_node2_SOURCES = mp08_node2.adb ../mptest.adb config.h mp08_ada_mp08_node2_SOURCES += ../mptest.ads -mp08_ada_mp08_node2_SOURCES += ../../../support/init.c +mp08_ada_mp08_node2_SOURCES += init.c mp08_ada_mp08_node2$(EXEEXT): mp08_node2.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp08/node2/config.h b/testsuites/ada/mptests/mp08/node2/config.h deleted file mode 100644 index 47edf66149..0000000000 --- a/testsuites/ada/mptests/mp08/node2/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 2 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp08/node2/init.c b/testsuites/ada/mptests/mp08/node2/init.c new file mode 100644 index 0000000000..47edf66149 --- /dev/null +++ b/testsuites/ada/mptests/mp08/node2/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 2 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp09/config_base.h b/testsuites/ada/mptests/mp09/config_base.h index 8145297471..f84b739f14 100644 --- a/testsuites/ada/mptests/mp09/config_base.h +++ b/testsuites/ada/mptests/mp09/config_base.h @@ -25,6 +25,6 @@ #define CONFIGURE_MAXIMUM_POSIX_THREADS 10 #define CONFIGURE_MAXIMUM_POSIX_KEYS 10 -#include +#include "../../support/initimpl.h" /* end of include file */ diff --git a/testsuites/ada/mptests/mp09/node1/Makefile.am b/testsuites/ada/mptests/mp09/node1/Makefile.am index 6847835207..6e41e40c83 100644 --- a/testsuites/ada/mptests/mp09/node1/Makefile.am +++ b/testsuites/ada/mptests/mp09/node1/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp09_ada_mp09_node1 mp09_ada_mp09_node1_SOURCES = mp09_node1.adb ../mptest.adb config.h mp09_ada_mp09_node1_SOURCES += ../mptest.ads -mp09_ada_mp09_node1_SOURCES += ../../../support/init.c +mp09_ada_mp09_node1_SOURCES += init.c mp09_ada_mp09_node1$(EXEEXT): mp09_node1.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp09/node1/config.h b/testsuites/ada/mptests/mp09/node1/config.h deleted file mode 100644 index 36c9d133e8..0000000000 --- a/testsuites/ada/mptests/mp09/node1/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 1 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp09/node1/init.c b/testsuites/ada/mptests/mp09/node1/init.c new file mode 100644 index 0000000000..36c9d133e8 --- /dev/null +++ b/testsuites/ada/mptests/mp09/node1/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 1 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp09/node2/Makefile.am b/testsuites/ada/mptests/mp09/node2/Makefile.am index 61fd3f3d20..d8e748d24e 100644 --- a/testsuites/ada/mptests/mp09/node2/Makefile.am +++ b/testsuites/ada/mptests/mp09/node2/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp09_ada_mp09_node2 mp09_ada_mp09_node2_SOURCES = mp09_node2.adb ../mptest.adb config.h mp09_ada_mp09_node2_SOURCES += ../mptest.ads -mp09_ada_mp09_node2_SOURCES += ../../../support/init.c +mp09_ada_mp09_node2_SOURCES += init.c mp09_ada_mp09_node2$(EXEEXT): mp09_node2.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp09/node2/config.h b/testsuites/ada/mptests/mp09/node2/config.h deleted file mode 100644 index 47edf66149..0000000000 --- a/testsuites/ada/mptests/mp09/node2/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 2 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp09/node2/init.c b/testsuites/ada/mptests/mp09/node2/init.c new file mode 100644 index 0000000000..47edf66149 --- /dev/null +++ b/testsuites/ada/mptests/mp09/node2/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 2 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp10/config_base.h b/testsuites/ada/mptests/mp10/config_base.h index 72f5c759ba..6bf24a6f8f 100644 --- a/testsuites/ada/mptests/mp10/config_base.h +++ b/testsuites/ada/mptests/mp10/config_base.h @@ -25,6 +25,6 @@ #define CONFIGURE_MAXIMUM_POSIX_THREADS 10 #define CONFIGURE_MAXIMUM_POSIX_KEYS 10 -#include +#include "../../support/initimpl.h" /* end of include file */ diff --git a/testsuites/ada/mptests/mp10/node1/Makefile.am b/testsuites/ada/mptests/mp10/node1/Makefile.am index 029c77e2a5..93cba93762 100644 --- a/testsuites/ada/mptests/mp10/node1/Makefile.am +++ b/testsuites/ada/mptests/mp10/node1/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp10_ada_mp10_node1 mp10_ada_mp10_node1_SOURCES = mp10_node1.adb ../mptest.adb config.h mp10_ada_mp10_node1_SOURCES += ../mptest.ads -mp10_ada_mp10_node1_SOURCES += ../../../support/init.c +mp10_ada_mp10_node1_SOURCES += init.c mp10_ada_mp10_node1$(EXEEXT): mp10_node1.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp10/node1/config.h b/testsuites/ada/mptests/mp10/node1/config.h deleted file mode 100644 index 36c9d133e8..0000000000 --- a/testsuites/ada/mptests/mp10/node1/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 1 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp10/node1/init.c b/testsuites/ada/mptests/mp10/node1/init.c new file mode 100644 index 0000000000..36c9d133e8 --- /dev/null +++ b/testsuites/ada/mptests/mp10/node1/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 1 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp10/node2/Makefile.am b/testsuites/ada/mptests/mp10/node2/Makefile.am index 70d1740cfa..98907fa8a1 100644 --- a/testsuites/ada/mptests/mp10/node2/Makefile.am +++ b/testsuites/ada/mptests/mp10/node2/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp10_ada_mp10_node2 mp10_ada_mp10_node2_SOURCES = mp10_node2.adb ../mptest.adb config.h mp10_ada_mp10_node2_SOURCES += ../mptest.ads -mp10_ada_mp10_node2_SOURCES += ../../../support/init.c +mp10_ada_mp10_node2_SOURCES += init.c mp10_ada_mp10_node2$(EXEEXT): mp10_node2.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp10/node2/config.h b/testsuites/ada/mptests/mp10/node2/config.h deleted file mode 100644 index 47edf66149..0000000000 --- a/testsuites/ada/mptests/mp10/node2/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 2 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp10/node2/init.c b/testsuites/ada/mptests/mp10/node2/init.c new file mode 100644 index 0000000000..47edf66149 --- /dev/null +++ b/testsuites/ada/mptests/mp10/node2/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 2 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp11/config_base.h b/testsuites/ada/mptests/mp11/config_base.h index c36c1bac3c..d0dd4061de 100644 --- a/testsuites/ada/mptests/mp11/config_base.h +++ b/testsuites/ada/mptests/mp11/config_base.h @@ -25,6 +25,6 @@ #define CONFIGURE_MAXIMUM_POSIX_THREADS 10 #define CONFIGURE_MAXIMUM_POSIX_KEYS 10 -#include +#include "../../support/initimpl.h" /* end of include file */ diff --git a/testsuites/ada/mptests/mp11/node1/Makefile.am b/testsuites/ada/mptests/mp11/node1/Makefile.am index ae6570e974..2bba219370 100644 --- a/testsuites/ada/mptests/mp11/node1/Makefile.am +++ b/testsuites/ada/mptests/mp11/node1/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp11_ada_mp11_node1 mp11_ada_mp11_node1_SOURCES = mp11_node1.adb ../mptest.adb config.h mp11_ada_mp11_node1_SOURCES += ../mptest.ads -mp11_ada_mp11_node1_SOURCES += ../../../support/init.c +mp11_ada_mp11_node1_SOURCES += init.c mp11_ada_mp11_node1$(EXEEXT): mp11_node1.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp11/node1/config.h b/testsuites/ada/mptests/mp11/node1/config.h deleted file mode 100644 index 36c9d133e8..0000000000 --- a/testsuites/ada/mptests/mp11/node1/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 1 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp11/node1/init.c b/testsuites/ada/mptests/mp11/node1/init.c new file mode 100644 index 0000000000..36c9d133e8 --- /dev/null +++ b/testsuites/ada/mptests/mp11/node1/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 1 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp11/node2/Makefile.am b/testsuites/ada/mptests/mp11/node2/Makefile.am index ae4cc32441..5c78df4020 100644 --- a/testsuites/ada/mptests/mp11/node2/Makefile.am +++ b/testsuites/ada/mptests/mp11/node2/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp11_ada_mp11_node2 mp11_ada_mp11_node2_SOURCES = mp11_node2.adb ../mptest.adb config.h mp11_ada_mp11_node2_SOURCES += ../mptest.ads -mp11_ada_mp11_node2_SOURCES += ../../../support/init.c +mp11_ada_mp11_node2_SOURCES += init.c mp11_ada_mp11_node2$(EXEEXT): mp11_node2.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp11/node2/config.h b/testsuites/ada/mptests/mp11/node2/config.h deleted file mode 100644 index 47edf66149..0000000000 --- a/testsuites/ada/mptests/mp11/node2/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 2 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp11/node2/init.c b/testsuites/ada/mptests/mp11/node2/init.c new file mode 100644 index 0000000000..47edf66149 --- /dev/null +++ b/testsuites/ada/mptests/mp11/node2/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 2 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp12/config_base.h b/testsuites/ada/mptests/mp12/config_base.h index 2d7952fe39..7ace8ca280 100644 --- a/testsuites/ada/mptests/mp12/config_base.h +++ b/testsuites/ada/mptests/mp12/config_base.h @@ -25,6 +25,6 @@ #define CONFIGURE_MAXIMUM_POSIX_THREADS 10 #define CONFIGURE_MAXIMUM_POSIX_KEYS 10 -#include +#include "../../support/initimpl.h" /* end of include file */ diff --git a/testsuites/ada/mptests/mp12/node1/Makefile.am b/testsuites/ada/mptests/mp12/node1/Makefile.am index a95c153c00..0717da924a 100644 --- a/testsuites/ada/mptests/mp12/node1/Makefile.am +++ b/testsuites/ada/mptests/mp12/node1/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp12_ada_mp12_node1 mp12_ada_mp12_node1_SOURCES = mp12_node1.adb ../mptest.adb config.h mp12_ada_mp12_node1_SOURCES += ../mptest.ads -mp12_ada_mp12_node1_SOURCES += ../../../support/init.c +mp12_ada_mp12_node1_SOURCES += init.c mp12_ada_mp12_node1$(EXEEXT): mp12_node1.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp12/node1/config.h b/testsuites/ada/mptests/mp12/node1/config.h deleted file mode 100644 index 36c9d133e8..0000000000 --- a/testsuites/ada/mptests/mp12/node1/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 1 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp12/node1/init.c b/testsuites/ada/mptests/mp12/node1/init.c new file mode 100644 index 0000000000..36c9d133e8 --- /dev/null +++ b/testsuites/ada/mptests/mp12/node1/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 1 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp12/node2/Makefile.am b/testsuites/ada/mptests/mp12/node2/Makefile.am index eb35a18e6c..ae5e71bcf6 100644 --- a/testsuites/ada/mptests/mp12/node2/Makefile.am +++ b/testsuites/ada/mptests/mp12/node2/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp12_ada_mp12_node2 mp12_ada_mp12_node2_SOURCES = mp12_node2.adb ../mptest.adb config.h mp12_ada_mp12_node2_SOURCES += ../mptest.ads -mp12_ada_mp12_node2_SOURCES += ../../../support/init.c +mp12_ada_mp12_node2_SOURCES += init.c mp12_ada_mp12_node2$(EXEEXT): mp12_node2.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp12/node2/config.h b/testsuites/ada/mptests/mp12/node2/config.h deleted file mode 100644 index 47edf66149..0000000000 --- a/testsuites/ada/mptests/mp12/node2/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 2 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp12/node2/init.c b/testsuites/ada/mptests/mp12/node2/init.c new file mode 100644 index 0000000000..47edf66149 --- /dev/null +++ b/testsuites/ada/mptests/mp12/node2/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 2 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp13/config_base.h b/testsuites/ada/mptests/mp13/config_base.h index 8799c9a86e..52e2d786eb 100644 --- a/testsuites/ada/mptests/mp13/config_base.h +++ b/testsuites/ada/mptests/mp13/config_base.h @@ -25,6 +25,6 @@ #define CONFIGURE_MAXIMUM_POSIX_THREADS 10 #define CONFIGURE_MAXIMUM_POSIX_KEYS 10 -#include +#include "../../support/initimpl.h" /* end of include file */ diff --git a/testsuites/ada/mptests/mp13/node1/Makefile.am b/testsuites/ada/mptests/mp13/node1/Makefile.am index 4020129ac8..ee1ec62d22 100644 --- a/testsuites/ada/mptests/mp13/node1/Makefile.am +++ b/testsuites/ada/mptests/mp13/node1/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp13_ada_mp13_node1 mp13_ada_mp13_node1_SOURCES = mp13_node1.adb ../mptest.adb config.h mp13_ada_mp13_node1_SOURCES += ../mptest.ads -mp13_ada_mp13_node1_SOURCES += ../../../support/init.c +mp13_ada_mp13_node1_SOURCES += init.c mp13_ada_mp13_node1$(EXEEXT): mp13_node1.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp13/node1/config.h b/testsuites/ada/mptests/mp13/node1/config.h deleted file mode 100644 index 36c9d133e8..0000000000 --- a/testsuites/ada/mptests/mp13/node1/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 1 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp13/node1/init.c b/testsuites/ada/mptests/mp13/node1/init.c new file mode 100644 index 0000000000..36c9d133e8 --- /dev/null +++ b/testsuites/ada/mptests/mp13/node1/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 1 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp13/node2/Makefile.am b/testsuites/ada/mptests/mp13/node2/Makefile.am index 89ebc236ec..7137c7fc51 100644 --- a/testsuites/ada/mptests/mp13/node2/Makefile.am +++ b/testsuites/ada/mptests/mp13/node2/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp13_ada_mp13_node2 mp13_ada_mp13_node2_SOURCES = mp13_node2.adb ../mptest.adb config.h mp13_ada_mp13_node2_SOURCES += ../mptest.ads -mp13_ada_mp13_node2_SOURCES += ../../../support/init.c +mp13_ada_mp13_node2_SOURCES += init.c mp13_ada_mp13_node2$(EXEEXT): mp13_node2.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp13/node2/config.h b/testsuites/ada/mptests/mp13/node2/config.h deleted file mode 100644 index 47edf66149..0000000000 --- a/testsuites/ada/mptests/mp13/node2/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 2 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp13/node2/init.c b/testsuites/ada/mptests/mp13/node2/init.c new file mode 100644 index 0000000000..47edf66149 --- /dev/null +++ b/testsuites/ada/mptests/mp13/node2/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 2 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp14/config_base.h b/testsuites/ada/mptests/mp14/config_base.h index 6d2b79dea5..c8369dcaad 100644 --- a/testsuites/ada/mptests/mp14/config_base.h +++ b/testsuites/ada/mptests/mp14/config_base.h @@ -25,6 +25,6 @@ #define CONFIGURE_MAXIMUM_POSIX_THREADS 10 #define CONFIGURE_MAXIMUM_POSIX_KEYS 10 -#include +#include "../../support/initimpl.h" /* end of include file */ diff --git a/testsuites/ada/mptests/mp14/node1/Makefile.am b/testsuites/ada/mptests/mp14/node1/Makefile.am index 373b8b2f70..e9e76b4140 100644 --- a/testsuites/ada/mptests/mp14/node1/Makefile.am +++ b/testsuites/ada/mptests/mp14/node1/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp14_ada_mp14_node1 mp14_ada_mp14_node1_SOURCES = mp14_node1.adb ../mptest.adb config.h mp14_ada_mp14_node1_SOURCES += ../mptest.ads -mp14_ada_mp14_node1_SOURCES += ../../../support/init.c +mp14_ada_mp14_node1_SOURCES += init.c mp14_ada_mp14_node1$(EXEEXT): mp14_node1.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp14/node1/config.h b/testsuites/ada/mptests/mp14/node1/config.h deleted file mode 100644 index 36c9d133e8..0000000000 --- a/testsuites/ada/mptests/mp14/node1/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 1 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp14/node1/init.c b/testsuites/ada/mptests/mp14/node1/init.c new file mode 100644 index 0000000000..36c9d133e8 --- /dev/null +++ b/testsuites/ada/mptests/mp14/node1/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 1 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/mptests/mp14/node2/Makefile.am b/testsuites/ada/mptests/mp14/node2/Makefile.am index ceda2b7540..2e0e9a3678 100644 --- a/testsuites/ada/mptests/mp14/node2/Makefile.am +++ b/testsuites/ada/mptests/mp14/node2/Makefile.am @@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/.. noinst_PROGRAMS = mp14_ada_mp14_node2 mp14_ada_mp14_node2_SOURCES = mp14_node2.adb ../mptest.adb config.h mp14_ada_mp14_node2_SOURCES += ../mptest.ads -mp14_ada_mp14_node2_SOURCES += ../../../support/init.c +mp14_ada_mp14_node2_SOURCES += init.c mp14_ada_mp14_node2$(EXEEXT): mp14_node2.adb ../mptest.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/mptests/mp14/node2/config.h b/testsuites/ada/mptests/mp14/node2/config.h deleted file mode 100644 index 47edf66149..0000000000 --- a/testsuites/ada/mptests/mp14/node2/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION -#define CONFIGURE_MP_NODE_NUMBER 2 - -#include "../config_base.h" - -/* end of include file */ diff --git a/testsuites/ada/mptests/mp14/node2/init.c b/testsuites/ada/mptests/mp14/node2/init.c new file mode 100644 index 0000000000..47edf66149 --- /dev/null +++ b/testsuites/ada/mptests/mp14/node2/init.c @@ -0,0 +1,21 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION +#define CONFIGURE_MP_NODE_NUMBER 2 + +#include "../config_base.h" + +/* end of include file */ diff --git a/testsuites/ada/samples/base_mp/config.h b/testsuites/ada/samples/base_mp/config.h deleted file mode 100644 index 2d0e654f92..0000000000 --- a/testsuites/ada/samples/base_mp/config.h +++ /dev/null @@ -1,36 +0,0 @@ -/* system.h - * - * This include file contains information that is included in every - * function in the test set. - * - * 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. - */ - -/* configuration information */ - -#define CONFIGURE_MP_APPLICATION - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 2 - -#define ADA_TEST_NAME "ADA BASE MP" - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -/* - * Put the overrides of default configuration parameters here. - */ - -#include - -/* end of include file */ diff --git a/testsuites/ada/samples/base_mp/init.c b/testsuites/ada/samples/base_mp/init.c new file mode 100644 index 0000000000..78a357bd7e --- /dev/null +++ b/testsuites/ada/samples/base_mp/init.c @@ -0,0 +1,36 @@ +/* system.h + * + * This include file contains information that is included in every + * function in the test set. + * + * 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. + */ + +/* configuration information */ + +#define CONFIGURE_MP_APPLICATION + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 2 + +#define ADA_TEST_NAME "ADA BASE MP" + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +/* + * Put the overrides of default configuration parameters here. + */ + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/samples/base_sp/Makefile.am b/testsuites/ada/samples/base_sp/Makefile.am index 10b07095bf..e1e07319a9 100644 --- a/testsuites/ada/samples/base_sp/Makefile.am +++ b/testsuites/ada/samples/base_sp/Makefile.am @@ -6,7 +6,7 @@ include $(top_srcdir)/ada.am ada_base_sp$(EXEEXT): base_sp.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ -init.$(OBJEXT): ../../support/init.c +init.$(OBJEXT): init.c $(COMPILE.c) $(AM_CPPFLAGS) -I$(srcdir) -c $< noinst_PROGRAMS = ada_base_sp diff --git a/testsuites/ada/samples/base_sp/config.h b/testsuites/ada/samples/base_sp/config.h deleted file mode 100644 index 152eb56184..0000000000 --- a/testsuites/ada/samples/base_sp/config.h +++ /dev/null @@ -1,30 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#define CONFIGURE_MAXIMUM_TASKS 2 - -#define ADA_TEST_NAME "ADA BASE SP" - -#include - -/* end of include file */ diff --git a/testsuites/ada/samples/base_sp/init.c b/testsuites/ada/samples/base_sp/init.c new file mode 100644 index 0000000000..1ad2d67207 --- /dev/null +++ b/testsuites/ada/samples/base_sp/init.c @@ -0,0 +1,30 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#define CONFIGURE_MAXIMUM_TASKS 2 + +#define ADA_TEST_NAME "ADA BASE SP" + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/samples/hello/Makefile.am b/testsuites/ada/samples/hello/Makefile.am index 9efde9006e..3e3fefcf44 100644 --- a/testsuites/ada/samples/hello/Makefile.am +++ b/testsuites/ada/samples/hello/Makefile.am @@ -6,7 +6,7 @@ include $(top_srcdir)/ada.am ada_hello$(EXEEXT): hello.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ -init.$(OBJEXT): ../../support/init.c +init.$(OBJEXT): init.c $(COMPILE.c) $(AM_CPPFLAGS) -I$(srcdir) -c $< noinst_PROGRAMS = ada_hello diff --git a/testsuites/ada/samples/hello/config.h b/testsuites/ada/samples/hello/config.h deleted file mode 100644 index 3b4a9f4652..0000000000 --- a/testsuites/ada/samples/hello/config.h +++ /dev/null @@ -1,33 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2008. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION - -/* NOTICE: the clock driver is explicitly disabled */ -#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#define CONFIGURE_MAXIMUM_TASKS 1 - -#define ADA_TEST_NAME "ADA HELLO" - -#include - -/* end of include file */ diff --git a/testsuites/ada/samples/hello/init.c b/testsuites/ada/samples/hello/init.c new file mode 100644 index 0000000000..f7c3f4f65a --- /dev/null +++ b/testsuites/ada/samples/hello/init.c @@ -0,0 +1,33 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2008. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION + +/* NOTICE: the clock driver is explicitly disabled */ +#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#define CONFIGURE_MAXIMUM_TASKS 1 + +#define ADA_TEST_NAME "ADA HELLO" + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/samples/nsecs/Makefile.am b/testsuites/ada/samples/nsecs/Makefile.am index 21e27b4af0..d4fae4aac0 100644 --- a/testsuites/ada/samples/nsecs/Makefile.am +++ b/testsuites/ada/samples/nsecs/Makefile.am @@ -6,7 +6,7 @@ include $(top_srcdir)/ada.am ada_nsecs$(EXEEXT): nsecs.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ -init.$(OBJEXT): ../../support/init.c +init.$(OBJEXT): init.c $(COMPILE.c) $(AM_CPPFLAGS) -I$(srcdir) -c $< noinst_PROGRAMS = ada_nsecs diff --git a/testsuites/ada/samples/nsecs/config.h b/testsuites/ada/samples/nsecs/config.h deleted file mode 100644 index 61cb8c7392..0000000000 --- a/testsuites/ada/samples/nsecs/config.h +++ /dev/null @@ -1,32 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#define CONFIGURE_MAXIMUM_TASKS 1 - -#define ADA_TEST_NAME "ADA NSECS" - -#include - -/* end of include file */ diff --git a/testsuites/ada/samples/nsecs/init.c b/testsuites/ada/samples/nsecs/init.c new file mode 100644 index 0000000000..3935e10dcc --- /dev/null +++ b/testsuites/ada/samples/nsecs/init.c @@ -0,0 +1,32 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#define CONFIGURE_MAXIMUM_TASKS 1 + +#define ADA_TEST_NAME "ADA NSECS" + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/samples/ticker/Makefile.am b/testsuites/ada/samples/ticker/Makefile.am index c000abdf11..3da9a585b2 100644 --- a/testsuites/ada/samples/ticker/Makefile.am +++ b/testsuites/ada/samples/ticker/Makefile.am @@ -6,7 +6,7 @@ include $(top_srcdir)/ada.am ada_ticker$(EXEEXT): ticker.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ -init.$(OBJEXT): ../../support/init.c +init.$(OBJEXT): init.c $(COMPILE.c) $(AM_CPPFLAGS) -I$(srcdir) -c $< noinst_PROGRAMS = ada_ticker diff --git a/testsuites/ada/samples/ticker/config.h b/testsuites/ada/samples/ticker/config.h deleted file mode 100644 index 3edc776e54..0000000000 --- a/testsuites/ada/samples/ticker/config.h +++ /dev/null @@ -1,30 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#define CONFIGURE_MAXIMUM_TASKS 4 - -#define ADA_TEST_NAME "ADA TICKER" - -#include - -/* end of include file */ diff --git a/testsuites/ada/samples/ticker/init.c b/testsuites/ada/samples/ticker/init.c new file mode 100644 index 0000000000..e6f82f2601 --- /dev/null +++ b/testsuites/ada/samples/ticker/init.c @@ -0,0 +1,30 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#define CONFIGURE_MAXIMUM_TASKS 4 + +#define ADA_TEST_NAME "ADA TICKER" + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/sptests/sp01/Makefile.am b/testsuites/ada/sptests/sp01/Makefile.am index 62b1e6f08b..baa2d66676 100644 --- a/testsuites/ada/sptests/sp01/Makefile.am +++ b/testsuites/ada/sptests/sp01/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_sp01 ada_sp01_SOURCES = sp01.adb config.h sptest.adb sptest.ads -ada_sp01_SOURCES += ../../support/init.c +ada_sp01_SOURCES += init.c ada_sp01$(EXEEXT): sp01.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/sptests/sp01/config.h b/testsuites/ada/sptests/sp01/config.h deleted file mode 100644 index ee9e0fbde5..0000000000 --- a/testsuites/ada/sptests/sp01/config.h +++ /dev/null @@ -1,30 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#define CONFIGURE_MAXIMUM_TASKS 4 - -#define ADA_TEST_NAME "ADA SP 1" - -#include - -/* end of include file */ diff --git a/testsuites/ada/sptests/sp01/init.c b/testsuites/ada/sptests/sp01/init.c new file mode 100644 index 0000000000..dc5f4fc87c --- /dev/null +++ b/testsuites/ada/sptests/sp01/init.c @@ -0,0 +1,30 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#define CONFIGURE_MAXIMUM_TASKS 4 + +#define ADA_TEST_NAME "ADA SP 1" + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/sptests/sp02/Makefile.am b/testsuites/ada/sptests/sp02/Makefile.am index 2c82e1ea1e..74bfd0f6b1 100644 --- a/testsuites/ada/sptests/sp02/Makefile.am +++ b/testsuites/ada/sptests/sp02/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_sp02 ada_sp02_SOURCES = sp02.adb config.h sptest.adb sptest.ads -ada_sp02_SOURCES += ../../support/init.c +ada_sp02_SOURCES += init.c ada_sp02$(EXEEXT): sp02.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/sptests/sp02/config.h b/testsuites/ada/sptests/sp02/config.h deleted file mode 100644 index 60f58c1c13..0000000000 --- a/testsuites/ada/sptests/sp02/config.h +++ /dev/null @@ -1,30 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#define CONFIGURE_MAXIMUM_TASKS 4 - -#define ADA_TEST_NAME "ADA SP 2" - -#include - -/* end of include file */ diff --git a/testsuites/ada/sptests/sp02/init.c b/testsuites/ada/sptests/sp02/init.c new file mode 100644 index 0000000000..51801f6c65 --- /dev/null +++ b/testsuites/ada/sptests/sp02/init.c @@ -0,0 +1,30 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#define CONFIGURE_MAXIMUM_TASKS 4 + +#define ADA_TEST_NAME "ADA SP 2" + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/sptests/sp03/Makefile.am b/testsuites/ada/sptests/sp03/Makefile.am index 6e6a502bba..e7656e9757 100644 --- a/testsuites/ada/sptests/sp03/Makefile.am +++ b/testsuites/ada/sptests/sp03/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_sp03 ada_sp03_SOURCES = sp03.adb config.h sptest.adb sptest.ads -ada_sp03_SOURCES += ../../support/init.c +ada_sp03_SOURCES += init.c ada_sp03$(EXEEXT): sp03.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/sptests/sp03/config.h b/testsuites/ada/sptests/sp03/config.h deleted file mode 100644 index 0c7507a3c5..0000000000 --- a/testsuites/ada/sptests/sp03/config.h +++ /dev/null @@ -1,30 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#define CONFIGURE_MAXIMUM_TASKS 3 - -#define ADA_TEST_NAME "ADA SP 3" - -#include - -/* end of include file */ diff --git a/testsuites/ada/sptests/sp03/init.c b/testsuites/ada/sptests/sp03/init.c new file mode 100644 index 0000000000..6da581ed00 --- /dev/null +++ b/testsuites/ada/sptests/sp03/init.c @@ -0,0 +1,30 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#define CONFIGURE_MAXIMUM_TASKS 3 + +#define ADA_TEST_NAME "ADA SP 3" + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/sptests/sp04/Makefile.am b/testsuites/ada/sptests/sp04/Makefile.am index a9e6f4c207..d1c07e8089 100644 --- a/testsuites/ada/sptests/sp04/Makefile.am +++ b/testsuites/ada/sptests/sp04/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_sp04 ada_sp04_SOURCES = sp04.adb config.h sptest.adb sptest.ads -ada_sp04_SOURCES += ../../support/init.c +ada_sp04_SOURCES += init.c ada_sp04$(EXEEXT): sp04.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/sptests/sp04/config.h b/testsuites/ada/sptests/sp04/config.h deleted file mode 100644 index 8fccddb09a..0000000000 --- a/testsuites/ada/sptests/sp04/config.h +++ /dev/null @@ -1,33 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1 -#define CONFIGURE_TICKS_PER_TIMESLICE 100 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#define CONFIGURE_MAXIMUM_TASKS 4 - -#define ADA_TEST_NAME "ADA SP 4" - -#include - -/* end of include file */ diff --git a/testsuites/ada/sptests/sp04/init.c b/testsuites/ada/sptests/sp04/init.c new file mode 100644 index 0000000000..c55a103b9a --- /dev/null +++ b/testsuites/ada/sptests/sp04/init.c @@ -0,0 +1,33 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1 +#define CONFIGURE_TICKS_PER_TIMESLICE 100 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#define CONFIGURE_MAXIMUM_TASKS 4 + +#define ADA_TEST_NAME "ADA SP 4" + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/sptests/sp05/Makefile.am b/testsuites/ada/sptests/sp05/Makefile.am index 8ace676457..4330da6f53 100644 --- a/testsuites/ada/sptests/sp05/Makefile.am +++ b/testsuites/ada/sptests/sp05/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_sp05 ada_sp05_SOURCES = sp05.adb config.h sptest.adb sptest.ads -ada_sp05_SOURCES += ../../support/init.c +ada_sp05_SOURCES += init.c ada_sp05$(EXEEXT): sp05.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/sptests/sp05/config.h b/testsuites/ada/sptests/sp05/config.h deleted file mode 100644 index d5ddc1d724..0000000000 --- a/testsuites/ada/sptests/sp05/config.h +++ /dev/null @@ -1,32 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_TICKS_PER_TIMESLICE 100 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#define CONFIGURE_MAXIMUM_TASKS 4 - -#define ADA_TEST_NAME "ADA SP 5" - -#include - -/* end of include file */ diff --git a/testsuites/ada/sptests/sp05/init.c b/testsuites/ada/sptests/sp05/init.c new file mode 100644 index 0000000000..048edae1e8 --- /dev/null +++ b/testsuites/ada/sptests/sp05/init.c @@ -0,0 +1,32 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_TICKS_PER_TIMESLICE 100 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#define CONFIGURE_MAXIMUM_TASKS 4 + +#define ADA_TEST_NAME "ADA SP 5" + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/sptests/sp06/Makefile.am b/testsuites/ada/sptests/sp06/Makefile.am index 0cc703a483..7ca252d542 100644 --- a/testsuites/ada/sptests/sp06/Makefile.am +++ b/testsuites/ada/sptests/sp06/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_sp06 ada_sp06_SOURCES = sp06.adb config.h sptest.adb sptest.ads -ada_sp06_SOURCES += ../../support/init.c +ada_sp06_SOURCES += init.c ada_sp06$(EXEEXT): sp06.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/sptests/sp06/config.h b/testsuites/ada/sptests/sp06/config.h deleted file mode 100644 index 492e0e68be..0000000000 --- a/testsuites/ada/sptests/sp06/config.h +++ /dev/null @@ -1,32 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_TICKS_PER_TIMESLICE 100 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#define CONFIGURE_MAXIMUM_TASKS 4 - -#define ADA_TEST_NAME "ADA SP 6" - -#include - -/* end of include file */ diff --git a/testsuites/ada/sptests/sp06/init.c b/testsuites/ada/sptests/sp06/init.c new file mode 100644 index 0000000000..b37a6a4084 --- /dev/null +++ b/testsuites/ada/sptests/sp06/init.c @@ -0,0 +1,32 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_TICKS_PER_TIMESLICE 100 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#define CONFIGURE_MAXIMUM_TASKS 4 + +#define ADA_TEST_NAME "ADA SP 6" + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/sptests/sp07/Makefile.am b/testsuites/ada/sptests/sp07/Makefile.am index 8ce5e22c1b..321017c942 100644 --- a/testsuites/ada/sptests/sp07/Makefile.am +++ b/testsuites/ada/sptests/sp07/Makefile.am @@ -6,7 +6,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_sp07 ada_sp07_SOURCES = sp07.adb config.h sptest.adb sptest.ads -ada_sp07_SOURCES += ../../support/init.c +ada_sp07_SOURCES += init.c ada_sp07$(EXEEXT): sp07.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/sptests/sp07/config.h b/testsuites/ada/sptests/sp07/config.h deleted file mode 100644 index ffdac2d224..0000000000 --- a/testsuites/ada/sptests/sp07/config.h +++ /dev/null @@ -1,33 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1 -#define CONFIGURE_TICKS_PER_TIMESLICE 100 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#define CONFIGURE_MAXIMUM_TASKS 5 - -#define ADA_TEST_NAME "ADA SP 7" - -#include - -/* end of include file */ diff --git a/testsuites/ada/sptests/sp07/init.c b/testsuites/ada/sptests/sp07/init.c new file mode 100644 index 0000000000..c47213ef68 --- /dev/null +++ b/testsuites/ada/sptests/sp07/init.c @@ -0,0 +1,33 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1 +#define CONFIGURE_TICKS_PER_TIMESLICE 100 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#define CONFIGURE_MAXIMUM_TASKS 5 + +#define ADA_TEST_NAME "ADA SP 7" + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/sptests/sp08/Makefile.am b/testsuites/ada/sptests/sp08/Makefile.am index 5c9d5d8fdc..4380e7bb33 100644 --- a/testsuites/ada/sptests/sp08/Makefile.am +++ b/testsuites/ada/sptests/sp08/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_sp08 ada_sp08_SOURCES = sp08.adb config.h sptest.adb sptest.ads -ada_sp08_SOURCES += ../../support/init.c +ada_sp08_SOURCES += init.c ada_sp08$(EXEEXT): sp08.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/sptests/sp08/config.h b/testsuites/ada/sptests/sp08/config.h deleted file mode 100644 index af9175713c..0000000000 --- a/testsuites/ada/sptests/sp08/config.h +++ /dev/null @@ -1,32 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_TICKS_PER_TIMESLICE 100 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#define CONFIGURE_MAXIMUM_TASKS 2 - -#define ADA_TEST_NAME "ADA SP 8" - -#include - -/* end of include file */ diff --git a/testsuites/ada/sptests/sp08/init.c b/testsuites/ada/sptests/sp08/init.c new file mode 100644 index 0000000000..328e3eef78 --- /dev/null +++ b/testsuites/ada/sptests/sp08/init.c @@ -0,0 +1,32 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_TICKS_PER_TIMESLICE 100 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#define CONFIGURE_MAXIMUM_TASKS 2 + +#define ADA_TEST_NAME "ADA SP 8" + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/sptests/sp09/Makefile.am b/testsuites/ada/sptests/sp09/Makefile.am index c625d702a5..e24f969386 100644 --- a/testsuites/ada/sptests/sp09/Makefile.am +++ b/testsuites/ada/sptests/sp09/Makefile.am @@ -10,7 +10,7 @@ AM_ADAFLAGS += -gnatp noinst_PROGRAMS = ada_sp09 ada_sp09_SOURCES = sp09.adb config.h sptest.adb sptest.ads -ada_sp09_SOURCES += ../../support/init.c +ada_sp09_SOURCES += init.c ada_sp09$(EXEEXT): sp09.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/sptests/sp09/config.h b/testsuites/ada/sptests/sp09/config.h deleted file mode 100644 index 4d96170ea0..0000000000 --- a/testsuites/ada/sptests/sp09/config.h +++ /dev/null @@ -1,38 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 10 - -#define ADA_TEST_NAME "ADA SP 9" -#define CONFIGURE_MAXIMUM_TIMERS 1 -#define CONFIGURE_MAXIMUM_SEMAPHORES 2 -#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 -#define CONFIGURE_MAXIMUM_PARTITIONS 1 -#define CONFIGURE_MAXIMUM_REGIONS 1 -#define CONFIGURE_MAXIMUM_PERIODS 1 -#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 0 -#define CONFIGURE_TICKS_PER_TIMESLICE 100 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/sptests/sp09/init.c b/testsuites/ada/sptests/sp09/init.c new file mode 100644 index 0000000000..534dccd25a --- /dev/null +++ b/testsuites/ada/sptests/sp09/init.c @@ -0,0 +1,38 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 10 + +#define ADA_TEST_NAME "ADA SP 9" +#define CONFIGURE_MAXIMUM_TIMERS 1 +#define CONFIGURE_MAXIMUM_SEMAPHORES 2 +#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 +#define CONFIGURE_MAXIMUM_PARTITIONS 1 +#define CONFIGURE_MAXIMUM_REGIONS 1 +#define CONFIGURE_MAXIMUM_PERIODS 1 +#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 0 +#define CONFIGURE_TICKS_PER_TIMESLICE 100 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/sptests/sp11/Makefile.am b/testsuites/ada/sptests/sp11/Makefile.am index e900713344..0c80d393df 100644 --- a/testsuites/ada/sptests/sp11/Makefile.am +++ b/testsuites/ada/sptests/sp11/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_sp11 ada_sp11_SOURCES = sp11.adb config.h sptest.adb sptest.ads -ada_sp11_SOURCES += ../../support/init.c +ada_sp11_SOURCES += init.c ada_sp11$(EXEEXT): sp11.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/sptests/sp11/config.h b/testsuites/ada/sptests/sp11/config.h deleted file mode 100644 index 508613e314..0000000000 --- a/testsuites/ada/sptests/sp11/config.h +++ /dev/null @@ -1,32 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 3 - -#define ADA_TEST_NAME "ADA SP 11" -#define CONFIGURE_MAXIMUM_TIMERS 6 -#define CONFIGURE_TICKS_PER_TIMESLICE 100 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/sptests/sp11/init.c b/testsuites/ada/sptests/sp11/init.c new file mode 100644 index 0000000000..edd86bc77e --- /dev/null +++ b/testsuites/ada/sptests/sp11/init.c @@ -0,0 +1,32 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 3 + +#define ADA_TEST_NAME "ADA SP 11" +#define CONFIGURE_MAXIMUM_TIMERS 6 +#define CONFIGURE_TICKS_PER_TIMESLICE 100 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/sptests/sp12/Makefile.am b/testsuites/ada/sptests/sp12/Makefile.am index fce1a0e6b3..0fcb25ff6e 100644 --- a/testsuites/ada/sptests/sp12/Makefile.am +++ b/testsuites/ada/sptests/sp12/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_sp12 ada_sp12_SOURCES = sp12.adb config.h sptest.adb sptest.ads -ada_sp12_SOURCES += ../../support/init.c +ada_sp12_SOURCES += init.c ada_sp12$(EXEEXT): sp12.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/sptests/sp12/config.h b/testsuites/ada/sptests/sp12/config.h deleted file mode 100644 index 8edb8baf90..0000000000 --- a/testsuites/ada/sptests/sp12/config.h +++ /dev/null @@ -1,32 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 8 - -#define ADA_TEST_NAME "ADA SP 12" -#define CONFIGURE_MAXIMUM_SEMAPHORES 10 -#define CONFIGURE_TICKS_PER_TIMESLICE 100 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/sptests/sp12/init.c b/testsuites/ada/sptests/sp12/init.c new file mode 100644 index 0000000000..4dc8aad2b4 --- /dev/null +++ b/testsuites/ada/sptests/sp12/init.c @@ -0,0 +1,32 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 8 + +#define ADA_TEST_NAME "ADA SP 12" +#define CONFIGURE_MAXIMUM_SEMAPHORES 10 +#define CONFIGURE_TICKS_PER_TIMESLICE 100 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/sptests/sp13/Makefile.am b/testsuites/ada/sptests/sp13/Makefile.am index 01a6021b49..7ca7fb64c0 100644 --- a/testsuites/ada/sptests/sp13/Makefile.am +++ b/testsuites/ada/sptests/sp13/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_sp13 ada_sp13_SOURCES = sp13.adb config.h sptest.adb sptest.ads -ada_sp13_SOURCES += ../../support/init.c +ada_sp13_SOURCES += init.c ada_sp13$(EXEEXT): sp13.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/sptests/sp13/config.h b/testsuites/ada/sptests/sp13/config.h deleted file mode 100644 index 2d6dd34f1f..0000000000 --- a/testsuites/ada/sptests/sp13/config.h +++ /dev/null @@ -1,32 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 4 - -#define ADA_TEST_NAME "ADA SP 13" -#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 10 -#define CONFIGURE_TICKS_PER_TIMESLICE 100 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/sptests/sp13/init.c b/testsuites/ada/sptests/sp13/init.c new file mode 100644 index 0000000000..13f9fc2c0f --- /dev/null +++ b/testsuites/ada/sptests/sp13/init.c @@ -0,0 +1,32 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 4 + +#define ADA_TEST_NAME "ADA SP 13" +#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 10 +#define CONFIGURE_TICKS_PER_TIMESLICE 100 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/sptests/sp14/Makefile.am b/testsuites/ada/sptests/sp14/Makefile.am index 2b6c12a726..5874c26e85 100644 --- a/testsuites/ada/sptests/sp14/Makefile.am +++ b/testsuites/ada/sptests/sp14/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_sp14 ada_sp14_SOURCES = sp14.adb config.h sptest.adb sptest.ads -ada_sp14_SOURCES += ../../support/init.c +ada_sp14_SOURCES += init.c ada_sp14$(EXEEXT): sp14.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/sptests/sp14/config.h b/testsuites/ada/sptests/sp14/config.h deleted file mode 100644 index 2a53074581..0000000000 --- a/testsuites/ada/sptests/sp14/config.h +++ /dev/null @@ -1,32 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 3 - -#define ADA_TEST_NAME "ADA SP 14" -#define CONFIGURE_MAXIMUM_TIMERS 1 -#define CONFIGURE_TICKS_PER_TIMESLICE 100 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/sptests/sp14/init.c b/testsuites/ada/sptests/sp14/init.c new file mode 100644 index 0000000000..076e3d9763 --- /dev/null +++ b/testsuites/ada/sptests/sp14/init.c @@ -0,0 +1,32 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 3 + +#define ADA_TEST_NAME "ADA SP 14" +#define CONFIGURE_MAXIMUM_TIMERS 1 +#define CONFIGURE_TICKS_PER_TIMESLICE 100 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/sptests/sp15/Makefile.am b/testsuites/ada/sptests/sp15/Makefile.am index 9462600225..9e1b6b8317 100644 --- a/testsuites/ada/sptests/sp15/Makefile.am +++ b/testsuites/ada/sptests/sp15/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_sp15 ada_sp15_SOURCES = sp15.adb config.h sptest.adb sptest.ads -ada_sp15_SOURCES += ../../support/init.c +ada_sp15_SOURCES += init.c ada_sp15$(EXEEXT): sp15.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/sptests/sp15/config.h b/testsuites/ada/sptests/sp15/config.h deleted file mode 100644 index b0d535c347..0000000000 --- a/testsuites/ada/sptests/sp15/config.h +++ /dev/null @@ -1,32 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 2 - -#define ADA_TEST_NAME "ADA SP 15" -#define CONFIGURE_MAXIMUM_PARTITIONS 2 -#define CONFIGURE_TICKS_PER_TIMESLICE 100 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/sptests/sp15/init.c b/testsuites/ada/sptests/sp15/init.c new file mode 100644 index 0000000000..6b1b1f323b --- /dev/null +++ b/testsuites/ada/sptests/sp15/init.c @@ -0,0 +1,32 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 2 + +#define ADA_TEST_NAME "ADA SP 15" +#define CONFIGURE_MAXIMUM_PARTITIONS 2 +#define CONFIGURE_TICKS_PER_TIMESLICE 100 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/sptests/sp16/Makefile.am b/testsuites/ada/sptests/sp16/Makefile.am index 82576fc045..b0bb223352 100644 --- a/testsuites/ada/sptests/sp16/Makefile.am +++ b/testsuites/ada/sptests/sp16/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_sp16 ada_sp16_SOURCES = sp16.adb config.h sptest.adb sptest.ads -ada_sp16_SOURCES += ../../support/init.c +ada_sp16_SOURCES += init.c ada_sp16$(EXEEXT): sp16.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/sptests/sp16/config.h b/testsuites/ada/sptests/sp16/config.h deleted file mode 100644 index c50733678e..0000000000 --- a/testsuites/ada/sptests/sp16/config.h +++ /dev/null @@ -1,32 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 4 - -#define ADA_TEST_NAME "ADA SP 16" -#define CONFIGURE_MAXIMUM_REGIONS 4 -#define CONFIGURE_TICKS_PER_TIMESLICE 100 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/sptests/sp16/init.c b/testsuites/ada/sptests/sp16/init.c new file mode 100644 index 0000000000..c0a75da20e --- /dev/null +++ b/testsuites/ada/sptests/sp16/init.c @@ -0,0 +1,32 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 4 + +#define ADA_TEST_NAME "ADA SP 16" +#define CONFIGURE_MAXIMUM_REGIONS 4 +#define CONFIGURE_TICKS_PER_TIMESLICE 100 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/sptests/sp17/Makefile.am b/testsuites/ada/sptests/sp17/Makefile.am index 8357d1c47b..142cbd3b41 100644 --- a/testsuites/ada/sptests/sp17/Makefile.am +++ b/testsuites/ada/sptests/sp17/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_sp17 ada_sp17_SOURCES = sp17.adb config.h sptest.adb sptest.ads -ada_sp17_SOURCES += ../../support/init.c +ada_sp17_SOURCES += init.c ada_sp17$(EXEEXT): sp17.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/sptests/sp17/config.h b/testsuites/ada/sptests/sp17/config.h deleted file mode 100644 index 9813e25d25..0000000000 --- a/testsuites/ada/sptests/sp17/config.h +++ /dev/null @@ -1,32 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 3 - -#define ADA_TEST_NAME "ADA SP 17" -#define CONFIGURE_MICROSECONDS_PER_TICK RTEMS_MILLISECONDS_TO_MICROSECONDS(25) -#define CONFIGURE_TICKS_PER_TIMESLICE 1000 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/sptests/sp17/init.c b/testsuites/ada/sptests/sp17/init.c new file mode 100644 index 0000000000..7dfd620d77 --- /dev/null +++ b/testsuites/ada/sptests/sp17/init.c @@ -0,0 +1,32 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 3 + +#define ADA_TEST_NAME "ADA SP 17" +#define CONFIGURE_MICROSECONDS_PER_TICK RTEMS_MILLISECONDS_TO_MICROSECONDS(25) +#define CONFIGURE_TICKS_PER_TIMESLICE 1000 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/sptests/sp19/Makefile.am b/testsuites/ada/sptests/sp19/Makefile.am index 8a38c8cf8c..27604b136e 100644 --- a/testsuites/ada/sptests/sp19/Makefile.am +++ b/testsuites/ada/sptests/sp19/Makefile.am @@ -7,7 +7,7 @@ AM_ADAFLAGS += -I. noinst_PROGRAMS = ada_sp19 ada_sp19_SOURCES = sp19.adb sptest.adb config.h sptest.ads -ada_sp19_SOURCES += ../../support/init.c +ada_sp19_SOURCES += init.c CLEANFILES += sptest.adb diff --git a/testsuites/ada/sptests/sp19/config.h b/testsuites/ada/sptests/sp19/config.h deleted file mode 100644 index 1cdc8a05d2..0000000000 --- a/testsuites/ada/sptests/sp19/config.h +++ /dev/null @@ -1,30 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#define CONFIGURE_MAXIMUM_TASKS 7 - -#define ADA_TEST_NAME "ADA SP 19" - -#include - -/* end of include file */ diff --git a/testsuites/ada/sptests/sp19/init.c b/testsuites/ada/sptests/sp19/init.c new file mode 100644 index 0000000000..2d0d5b39f2 --- /dev/null +++ b/testsuites/ada/sptests/sp19/init.c @@ -0,0 +1,30 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#define CONFIGURE_MAXIMUM_TASKS 7 + +#define ADA_TEST_NAME "ADA SP 19" + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/sptests/sp20/Makefile.am b/testsuites/ada/sptests/sp20/Makefile.am index 7b22ec860e..a298575ebf 100644 --- a/testsuites/ada/sptests/sp20/Makefile.am +++ b/testsuites/ada/sptests/sp20/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_sp20 ada_sp20_SOURCES = sp20.adb config.h sptest.adb sptest.ads -ada_sp20_SOURCES += ../../support/init.c +ada_sp20_SOURCES += init.c ada_sp20$(EXEEXT): sp20.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/sptests/sp20/config.h b/testsuites/ada/sptests/sp20/config.h deleted file mode 100644 index 55990e2218..0000000000 --- a/testsuites/ada/sptests/sp20/config.h +++ /dev/null @@ -1,31 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_TASK_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 8 - -#define ADA_TEST_NAME "ADA SP 20" -#define CONFIGURE_MAXIMUM_PERIODS 10 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/sptests/sp20/init.c b/testsuites/ada/sptests/sp20/init.c new file mode 100644 index 0000000000..7146c3f3da --- /dev/null +++ b/testsuites/ada/sptests/sp20/init.c @@ -0,0 +1,31 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_TASK_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 8 + +#define ADA_TEST_NAME "ADA SP 20" +#define CONFIGURE_MAXIMUM_PERIODS 10 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/sptests/sp22/Makefile.am b/testsuites/ada/sptests/sp22/Makefile.am index dfdce80bb7..94407e1bde 100644 --- a/testsuites/ada/sptests/sp22/Makefile.am +++ b/testsuites/ada/sptests/sp22/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_sp22 ada_sp22_SOURCES = sp22.adb config.h sptest.adb sptest.ads -ada_sp22_SOURCES += ../../support/init.c +ada_sp22_SOURCES += init.c ada_sp22$(EXEEXT): sp22.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/sptests/sp22/config.h b/testsuites/ada/sptests/sp22/config.h deleted file mode 100644 index da60e49360..0000000000 --- a/testsuites/ada/sptests/sp22/config.h +++ /dev/null @@ -1,31 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 2 - -#define ADA_TEST_NAME "ADA SP 22" -#define CONFIGURE_MAXIMUM_TIMERS 2 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/sptests/sp22/init.c b/testsuites/ada/sptests/sp22/init.c new file mode 100644 index 0000000000..6ebc1b99c3 --- /dev/null +++ b/testsuites/ada/sptests/sp22/init.c @@ -0,0 +1,31 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 2 + +#define ADA_TEST_NAME "ADA SP 22" +#define CONFIGURE_MAXIMUM_TIMERS 2 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/sptests/sp23/Makefile.am b/testsuites/ada/sptests/sp23/Makefile.am index 64c7746415..3a19f5736b 100644 --- a/testsuites/ada/sptests/sp23/Makefile.am +++ b/testsuites/ada/sptests/sp23/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_sp23 ada_sp23_SOURCES = sp23.adb config.h sptest.adb sptest.ads -ada_sp23_SOURCES += ../../support/init.c +ada_sp23_SOURCES += init.c ada_sp23$(EXEEXT): sp23.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/sptests/sp23/config.h b/testsuites/ada/sptests/sp23/config.h deleted file mode 100644 index 5af9f6244d..0000000000 --- a/testsuites/ada/sptests/sp23/config.h +++ /dev/null @@ -1,31 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 2 - -#define ADA_TEST_NAME "ADA SP 23" -#define CONFIGURE_MAXIMUM_PORTS 1 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/sptests/sp23/init.c b/testsuites/ada/sptests/sp23/init.c new file mode 100644 index 0000000000..76e5f7b883 --- /dev/null +++ b/testsuites/ada/sptests/sp23/init.c @@ -0,0 +1,31 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 2 + +#define ADA_TEST_NAME "ADA SP 23" +#define CONFIGURE_MAXIMUM_PORTS 1 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/sptests/sp24/Makefile.am b/testsuites/ada/sptests/sp24/Makefile.am index 7d9cbc857b..21704688a3 100644 --- a/testsuites/ada/sptests/sp24/Makefile.am +++ b/testsuites/ada/sptests/sp24/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_sp24 ada_sp24_SOURCES = sp24.adb config.h sptest.adb sptest.ads -ada_sp24_SOURCES += ../../support/init.c +ada_sp24_SOURCES += init.c ada_sp24$(EXEEXT): sp24.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/sptests/sp24/config.h b/testsuites/ada/sptests/sp24/config.h deleted file mode 100644 index ee18ff3fac..0000000000 --- a/testsuites/ada/sptests/sp24/config.h +++ /dev/null @@ -1,31 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 4 - -#define ADA_TEST_NAME "ADA SP 24" -#define CONFIGURE_MAXIMUM_TIMERS 3 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/sptests/sp24/init.c b/testsuites/ada/sptests/sp24/init.c new file mode 100644 index 0000000000..3989b42113 --- /dev/null +++ b/testsuites/ada/sptests/sp24/init.c @@ -0,0 +1,31 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 4 + +#define ADA_TEST_NAME "ADA SP 24" +#define CONFIGURE_MAXIMUM_TIMERS 3 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/sptests/sp25/Makefile.am b/testsuites/ada/sptests/sp25/Makefile.am index 7cef185b92..b603e4350f 100644 --- a/testsuites/ada/sptests/sp25/Makefile.am +++ b/testsuites/ada/sptests/sp25/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_sp25 ada_sp25_SOURCES = sp25.adb config.h sptest.adb sptest.ads -ada_sp25_SOURCES += ../../support/init.c +ada_sp25_SOURCES += init.c ada_sp25$(EXEEXT): sp25.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/sptests/sp25/config.h b/testsuites/ada/sptests/sp25/config.h deleted file mode 100644 index d7c6c19cb5..0000000000 --- a/testsuites/ada/sptests/sp25/config.h +++ /dev/null @@ -1,31 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 2 - -#define ADA_TEST_NAME "ADA SP 25" -#define CONFIGURE_MAXIMUM_REGIONS 1 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/sptests/sp25/init.c b/testsuites/ada/sptests/sp25/init.c new file mode 100644 index 0000000000..8004204cfd --- /dev/null +++ b/testsuites/ada/sptests/sp25/init.c @@ -0,0 +1,31 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 2 + +#define ADA_TEST_NAME "ADA SP 25" +#define CONFIGURE_MAXIMUM_REGIONS 1 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/sptests/spatcb01/Makefile.am b/testsuites/ada/sptests/spatcb01/Makefile.am index b27c692cd8..1edd8989ce 100644 --- a/testsuites/ada/sptests/spatcb01/Makefile.am +++ b/testsuites/ada/sptests/spatcb01/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_spatcb01 ada_spatcb01_SOURCES = spatcb01.adb config.h -ada_spatcb01_SOURCES += ../../support/init.c +ada_spatcb01_SOURCES += init.c ada_spatcb01$(EXEEXT): spatcb01.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/sptests/spatcb01/config.h b/testsuites/ada/sptests/spatcb01/config.h deleted file mode 100644 index dad989dbe4..0000000000 --- a/testsuites/ada/sptests/spatcb01/config.h +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright (c) 2017 embedded brains GmbH - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 1 - -#define ADA_TEST_NAME "ADA SPATCB 1" - -#include diff --git a/testsuites/ada/sptests/spatcb01/init.c b/testsuites/ada/sptests/spatcb01/init.c new file mode 100644 index 0000000000..38c5fc519a --- /dev/null +++ b/testsuites/ada/sptests/spatcb01/init.c @@ -0,0 +1,18 @@ +/* + * Copyright (c) 2017 embedded brains GmbH + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 1 + +#define ADA_TEST_NAME "ADA SPATCB 1" + +#include "../../support/initimpl.h" diff --git a/testsuites/ada/sptests/spname01/Makefile.am b/testsuites/ada/sptests/spname01/Makefile.am index b3cf5067b3..56d64a794e 100644 --- a/testsuites/ada/sptests/spname01/Makefile.am +++ b/testsuites/ada/sptests/spname01/Makefile.am @@ -9,7 +9,7 @@ ada_spname01_SOURCES = spname01.adb config.h sptest.adb sptest.ads ada_spname01$(EXEEXT): spname01.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ -init.$(OBJEXT): ../../support/init.c +init.$(OBJEXT): init.c $(COMPILE.c) $(AM_CPPFLAGS) -I$(srcdir) -c $< scndir = $(rtems_ada_testsdir) diff --git a/testsuites/ada/sptests/spname01/config.h b/testsuites/ada/sptests/spname01/config.h deleted file mode 100644 index 8316f41e0c..0000000000 --- a/testsuites/ada/sptests/spname01/config.h +++ /dev/null @@ -1,33 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2008. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_APPLICATION - -/* NOTICE: the clock driver is explicitly disabled */ -#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#define CONFIGURE_MAXIMUM_TASKS 1 - -#define ADA_TEST_NAME "ADA SPNAME 1" - -#include - -/* end of include file */ diff --git a/testsuites/ada/sptests/spname01/init.c b/testsuites/ada/sptests/spname01/init.c new file mode 100644 index 0000000000..334b6ca2f6 --- /dev/null +++ b/testsuites/ada/sptests/spname01/init.c @@ -0,0 +1,33 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2008. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_APPLICATION + +/* NOTICE: the clock driver is explicitly disabled */ +#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#define CONFIGURE_MAXIMUM_TASKS 1 + +#define ADA_TEST_NAME "ADA SPNAME 1" + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/support/init.c b/testsuites/ada/support/init.c deleted file mode 100644 index c9a2327360..0000000000 --- a/testsuites/ada/support/init.c +++ /dev/null @@ -1,157 +0,0 @@ -/* - * COPYRIGHT (c) 1989-2015 - * On-Line Applications Research Corporation (OAR). - */ - -#include -#include -#include -#include -#include - -#include -#include -#include - -/* - * This is the entry point automatically generated by GNAT. - */ -extern int gnat_main ( int argc, char **argv, char **envp ); - -static void *POSIX_Init( - void *argument -) -{ - (void) gnat_main ( 0, 0, 0 ); - - exit( 0 ); -} - -/* - * Prototypes for various test support routines. Since these are bound to - * from Ada, there are no external .h files even though they must be public. - */ -void ada_test_begin(void); -void ada_test_end(void); -uint32_t milliseconds_per_tick(void); -uint32_t ticks_per_second(void); -size_t work_space_size(void); -uint32_t is_configured_multiprocessing(void); -uint32_t get_node(void); -rtems_id tcb_to_id(Thread_Control *tcb); -void check_type(long type, long size, long alignment); - -/* - * By putting this in brackets rather than quotes, we get the search - * path and can get this file from ".." in the mptests. - */ -#define CONFIGURE_INIT -#define CONFIGURE_GNAT_RTEMS -#define CONFIGURE_MEMORY_OVERHEAD (256) - -#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION - -#define CONFIGURE_DISABLE_SMP_CONFIGURATION - -#include - -const char rtems_test_name[] = ADA_TEST_NAME; - -void ada_test_begin(void) -{ - rtems_test_begin(rtems_test_name, RTEMS_TEST_STATE_PASS); -} - -void ada_test_end(void) -{ - fsync(STDOUT_FILENO); - rtems_test_end(rtems_test_name); -} - -rtems_id tcb_to_id( - Thread_Control *tcb -) -{ - return tcb->Object.id; /* Only for sp04 */ -} - -uint32_t milliseconds_per_tick(void) -{ - return CONFIGURE_MICROSECONDS_PER_TICK / 1000; -} - -uint32_t ticks_per_second(void) -{ - return rtems_clock_get_ticks_per_second(); -} - -size_t work_space_size(void) -{ - return rtems_configuration_get_work_space_size() - + rtems_configuration_get_stack_space_size(); -} - -uint32_t is_configured_multiprocessing(void) -{ -#if defined(RTEMS_MULTIPROCESSING) - return 1; -#else - return 0; -#endif -} - -uint32_t get_node(void) -{ - /* XXX HACK -- use public API */ - return _Objects_Local_node; -} - -typedef struct { - const char *name; - long size; - long alignment; -} type_spec; - -#define TYPE_SPEC(t) { #t, sizeof(t) * CHAR_BIT, _Alignof(t) } - -static const type_spec types[] = { - TYPE_SPEC(clockid_t), - TYPE_SPEC(pid_t), - TYPE_SPEC(pthread_attr_t), - TYPE_SPEC(pthread_condattr_t), - TYPE_SPEC(pthread_cond_t), - TYPE_SPEC(pthread_key_t), - TYPE_SPEC(pthread_mutexattr_t), - TYPE_SPEC(pthread_mutex_t), - TYPE_SPEC(pthread_rwlockattr_t), - TYPE_SPEC(pthread_rwlock_t), - TYPE_SPEC(pthread_t), - TYPE_SPEC(rtems_id), - TYPE_SPEC(sigset_t), - TYPE_SPEC(stack_t), - TYPE_SPEC(struct sched_param), - TYPE_SPEC(struct sigaction), - TYPE_SPEC(struct timespec) -}; - -void check_type(long type, long size, long alignment) -{ - if (type >= 0 && type < (long) RTEMS_ARRAY_SIZE(types)) { - const type_spec *ts; - - ts = &types[type]; - printf( - "%s: size %li == %li, alignment %li == %li\n", - ts->name, - ts->size, - size, - ts->alignment, - alignment - ); - if (ts->size != size || ts->alignment != alignment) { - exit(0); - } - } else { - exit(0); - } -} diff --git a/testsuites/ada/support/initimpl.h b/testsuites/ada/support/initimpl.h new file mode 100644 index 0000000000..35739d8a4d --- /dev/null +++ b/testsuites/ada/support/initimpl.h @@ -0,0 +1,157 @@ +/* + * COPYRIGHT (c) 1989-2015 + * On-Line Applications Research Corporation (OAR). + */ + +#include +#include +#include +#include +#include + +#include +#include +#include + +/* + * This is the entry point automatically generated by GNAT. + */ +extern int gnat_main ( int argc, char **argv, char **envp ); + +static void *POSIX_Init( + void *argument +) +{ + (void) gnat_main ( 0, 0, 0 ); + + exit( 0 ); +} + +/* + * Prototypes for various test support routines. Since these are bound to + * from Ada, there are no external .h files even though they must be public. + */ +void ada_test_begin(void); +void ada_test_end(void); +uint32_t milliseconds_per_tick(void); +uint32_t ticks_per_second(void); +size_t work_space_size(void); +uint32_t is_configured_multiprocessing(void); +uint32_t get_node(void); +rtems_id tcb_to_id(Thread_Control *tcb); +void check_type(long type, long size, long alignment); + +/* + * By putting this in brackets rather than quotes, we get the search + * path and can get this file from ".." in the mptests. + */ +#define CONFIGURE_INIT +#define CONFIGURE_GNAT_RTEMS +#define CONFIGURE_MEMORY_OVERHEAD (256) + +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + +#define CONFIGURE_DISABLE_SMP_CONFIGURATION + +#include + +const char rtems_test_name[] = ADA_TEST_NAME; + +void ada_test_begin(void) +{ + rtems_test_begin(rtems_test_name, RTEMS_TEST_STATE_PASS); +} + +void ada_test_end(void) +{ + fsync(STDOUT_FILENO); + rtems_test_end(rtems_test_name); +} + +rtems_id tcb_to_id( + Thread_Control *tcb +) +{ + return tcb->Object.id; /* Only for sp04 */ +} + +uint32_t milliseconds_per_tick(void) +{ + return CONFIGURE_MICROSECONDS_PER_TICK / 1000; +} + +uint32_t ticks_per_second(void) +{ + return rtems_clock_get_ticks_per_second(); +} + +size_t work_space_size(void) +{ + return rtems_configuration_get_work_space_size() + + rtems_configuration_get_stack_space_size(); +} + +uint32_t is_configured_multiprocessing(void) +{ +#if defined(RTEMS_MULTIPROCESSING) + return 1; +#else + return 0; +#endif +} + +uint32_t get_node(void) +{ + /* XXX HACK -- use public API */ + return _Objects_Local_node; +} + +typedef struct { + const char *name; + long size; + long alignment; +} type_spec; + +#define TYPE_SPEC(t) { #t, sizeof(t) * CHAR_BIT, _Alignof(t) } + +static const type_spec types[] = { + TYPE_SPEC(clockid_t), + TYPE_SPEC(pid_t), + TYPE_SPEC(pthread_attr_t), + TYPE_SPEC(pthread_condattr_t), + TYPE_SPEC(pthread_cond_t), + TYPE_SPEC(pthread_key_t), + TYPE_SPEC(pthread_mutexattr_t), + TYPE_SPEC(pthread_mutex_t), + TYPE_SPEC(pthread_rwlockattr_t), + TYPE_SPEC(pthread_rwlock_t), + TYPE_SPEC(pthread_t), + TYPE_SPEC(rtems_id), + TYPE_SPEC(sigset_t), + TYPE_SPEC(stack_t), + TYPE_SPEC(struct sched_param), + TYPE_SPEC(struct sigaction), + TYPE_SPEC(struct timespec) +}; + +void check_type(long type, long size, long alignment) +{ + if (type >= 0 && type < (long) RTEMS_ARRAY_SIZE(types)) { + const type_spec *ts; + + ts = &types[type]; + printf( + "%s: size %li == %li, alignment %li == %li\n", + ts->name, + ts->size, + size, + ts->alignment, + alignment + ); + if (ts->size != size || ts->alignment != alignment) { + exit(0); + } + } else { + exit(0); + } +} diff --git a/testsuites/ada/tmtests/tm01/Makefile.am b/testsuites/ada/tmtests/tm01/Makefile.am index 249b65d1a9..1d854caf12 100644 --- a/testsuites/ada/tmtests/tm01/Makefile.am +++ b/testsuites/ada/tmtests/tm01/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm01 ada_tm01_SOURCES = tm01.adb config.h tmtest.adb tmtest.ads -ada_tm01_SOURCES += ../../support/init.c +ada_tm01_SOURCES += init.c ada_tm01$(EXEEXT): tm01.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm01/config.h b/testsuites/ada/tmtests/tm01/config.h deleted file mode 100644 index b2a057674a..0000000000 --- a/testsuites/ada/tmtests/tm01/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 2 - -#define ADA_TEST_NAME "ADA TM 1" -#define CONFIGURE_MAXIMUM_SEMAPHORES 1 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm01/init.c b/testsuites/ada/tmtests/tm01/init.c new file mode 100644 index 0000000000..8f2fb49790 --- /dev/null +++ b/testsuites/ada/tmtests/tm01/init.c @@ -0,0 +1,34 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 2 + +#define ADA_TEST_NAME "ADA TM 1" +#define CONFIGURE_MAXIMUM_SEMAPHORES 1 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm02/Makefile.am b/testsuites/ada/tmtests/tm02/Makefile.am index 3d4f79ff13..fe3f609399 100644 --- a/testsuites/ada/tmtests/tm02/Makefile.am +++ b/testsuites/ada/tmtests/tm02/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm02 ada_tm02_SOURCES = tm02.adb config.h tmtest.adb tmtest.ads -ada_tm02_SOURCES += ../../support/init.c +ada_tm02_SOURCES += init.c ada_tm02$(EXEEXT): tm02.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm02/config.h b/testsuites/ada/tmtests/tm02/config.h deleted file mode 100644 index 18a1ad722a..0000000000 --- a/testsuites/ada/tmtests/tm02/config.h +++ /dev/null @@ -1,35 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 111 - -#define ADA_TEST_NAME "ADA TM 2" -#define CONFIGURE_MAXIMUM_TIMERS 110 -#define CONFIGURE_MAXIMUM_SEMAPHORES 101 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm02/init.c b/testsuites/ada/tmtests/tm02/init.c new file mode 100644 index 0000000000..d8123f0452 --- /dev/null +++ b/testsuites/ada/tmtests/tm02/init.c @@ -0,0 +1,35 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 111 + +#define ADA_TEST_NAME "ADA TM 2" +#define CONFIGURE_MAXIMUM_TIMERS 110 +#define CONFIGURE_MAXIMUM_SEMAPHORES 101 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm03/Makefile.am b/testsuites/ada/tmtests/tm03/Makefile.am index 75032a2a9e..89eb8d02f5 100644 --- a/testsuites/ada/tmtests/tm03/Makefile.am +++ b/testsuites/ada/tmtests/tm03/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm03 ada_tm03_SOURCES = tm03.adb config.h tmtest.adb tmtest.ads -ada_tm03_SOURCES += ../../support/init.c +ada_tm03_SOURCES += init.c ada_tm03$(EXEEXT): tm03.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm03/config.h b/testsuites/ada/tmtests/tm03/config.h deleted file mode 100644 index 61daeb963e..0000000000 --- a/testsuites/ada/tmtests/tm03/config.h +++ /dev/null @@ -1,35 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 111 - -#define ADA_TEST_NAME "ADA TM 3" -#define CONFIGURE_MAXIMUM_TIMERS 110 -#define CONFIGURE_MAXIMUM_SEMAPHORES 101 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm03/init.c b/testsuites/ada/tmtests/tm03/init.c new file mode 100644 index 0000000000..439c8ca168 --- /dev/null +++ b/testsuites/ada/tmtests/tm03/init.c @@ -0,0 +1,35 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 111 + +#define ADA_TEST_NAME "ADA TM 3" +#define CONFIGURE_MAXIMUM_TIMERS 110 +#define CONFIGURE_MAXIMUM_SEMAPHORES 101 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm04/Makefile.am b/testsuites/ada/tmtests/tm04/Makefile.am index da74604bdd..1120d2b0b3 100644 --- a/testsuites/ada/tmtests/tm04/Makefile.am +++ b/testsuites/ada/tmtests/tm04/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm04 ada_tm04_SOURCES = tm04.adb config.h tmtest.adb tmtest.ads -ada_tm04_SOURCES += ../../support/init.c +ada_tm04_SOURCES += init.c ada_tm04$(EXEEXT): tm04.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm04/config.h b/testsuites/ada/tmtests/tm04/config.h deleted file mode 100644 index 42f8aeeef0..0000000000 --- a/testsuites/ada/tmtests/tm04/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 111 - -#define ADA_TEST_NAME "ADA TM 4" -#define CONFIGURE_MAXIMUM_SEMAPHORES 1 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm04/init.c b/testsuites/ada/tmtests/tm04/init.c new file mode 100644 index 0000000000..2cf05da2e1 --- /dev/null +++ b/testsuites/ada/tmtests/tm04/init.c @@ -0,0 +1,34 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 111 + +#define ADA_TEST_NAME "ADA TM 4" +#define CONFIGURE_MAXIMUM_SEMAPHORES 1 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm05/Makefile.am b/testsuites/ada/tmtests/tm05/Makefile.am index 99829f37e9..ce88c76a36 100644 --- a/testsuites/ada/tmtests/tm05/Makefile.am +++ b/testsuites/ada/tmtests/tm05/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm05 ada_tm05_SOURCES = tm05.adb config.h tmtest.adb tmtest.ads -ada_tm05_SOURCES += ../../support/init.c +ada_tm05_SOURCES += init.c ada_tm05$(EXEEXT): tm05.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm05/config.h b/testsuites/ada/tmtests/tm05/config.h deleted file mode 100644 index 7b56b81b99..0000000000 --- a/testsuites/ada/tmtests/tm05/config.h +++ /dev/null @@ -1,35 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 111 - -#define ADA_TEST_NAME "ADA TM 5" -#define CONFIGURE_MAXIMUM_TIMERS 110 -#define CONFIGURE_MAXIMUM_SEMAPHORES 101 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm05/init.c b/testsuites/ada/tmtests/tm05/init.c new file mode 100644 index 0000000000..7fb0f854ee --- /dev/null +++ b/testsuites/ada/tmtests/tm05/init.c @@ -0,0 +1,35 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 111 + +#define ADA_TEST_NAME "ADA TM 5" +#define CONFIGURE_MAXIMUM_TIMERS 110 +#define CONFIGURE_MAXIMUM_SEMAPHORES 101 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm06/Makefile.am b/testsuites/ada/tmtests/tm06/Makefile.am index 5dea7d44cc..de26a58bcf 100644 --- a/testsuites/ada/tmtests/tm06/Makefile.am +++ b/testsuites/ada/tmtests/tm06/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm06 ada_tm06_SOURCES = tm06.adb config.h tmtest.adb tmtest.ads -ada_tm06_SOURCES += ../../support/init.c +ada_tm06_SOURCES += init.c ada_tm06$(EXEEXT): tm06.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm06/config.h b/testsuites/ada/tmtests/tm06/config.h deleted file mode 100644 index c8ae6d5751..0000000000 --- a/testsuites/ada/tmtests/tm06/config.h +++ /dev/null @@ -1,35 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 111 - -#define ADA_TEST_NAME "ADA TM 6" -#define CONFIGURE_MAXIMUM_TIMERS 110 -#define CONFIGURE_MAXIMUM_SEMAPHORES 101 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm06/init.c b/testsuites/ada/tmtests/tm06/init.c new file mode 100644 index 0000000000..88f27f6b2f --- /dev/null +++ b/testsuites/ada/tmtests/tm06/init.c @@ -0,0 +1,35 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 111 + +#define ADA_TEST_NAME "ADA TM 6" +#define CONFIGURE_MAXIMUM_TIMERS 110 +#define CONFIGURE_MAXIMUM_SEMAPHORES 101 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm07/Makefile.am b/testsuites/ada/tmtests/tm07/Makefile.am index 25074547a7..de21b0029d 100644 --- a/testsuites/ada/tmtests/tm07/Makefile.am +++ b/testsuites/ada/tmtests/tm07/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm07 ada_tm07_SOURCES = tm07.adb config.h tmtest.adb tmtest.ads -ada_tm07_SOURCES += ../../support/init.c +ada_tm07_SOURCES += init.c ada_tm07$(EXEEXT): tm07.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm07/config.h b/testsuites/ada/tmtests/tm07/config.h deleted file mode 100644 index f6ca20e61f..0000000000 --- a/testsuites/ada/tmtests/tm07/config.h +++ /dev/null @@ -1,35 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 111 - -#define ADA_TEST_NAME "ADA TM 7" -#define CONFIGURE_MAXIMUM_TIMERS 110 -#define CONFIGURE_MAXIMUM_SEMAPHORES 101 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm07/init.c b/testsuites/ada/tmtests/tm07/init.c new file mode 100644 index 0000000000..dcbf73a3ae --- /dev/null +++ b/testsuites/ada/tmtests/tm07/init.c @@ -0,0 +1,35 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 111 + +#define ADA_TEST_NAME "ADA TM 7" +#define CONFIGURE_MAXIMUM_TIMERS 110 +#define CONFIGURE_MAXIMUM_SEMAPHORES 101 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm08/Makefile.am b/testsuites/ada/tmtests/tm08/Makefile.am index 0e21c0d7ac..77dc7e173e 100644 --- a/testsuites/ada/tmtests/tm08/Makefile.am +++ b/testsuites/ada/tmtests/tm08/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm08 ada_tm08_SOURCES = tm08.adb config.h tmtest.adb tmtest.ads -ada_tm08_SOURCES += ../../support/init.c +ada_tm08_SOURCES += init.c ada_tm08$(EXEEXT): tm08.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm08/config.h b/testsuites/ada/tmtests/tm08/config.h deleted file mode 100644 index 1c6324f773..0000000000 --- a/testsuites/ada/tmtests/tm08/config.h +++ /dev/null @@ -1,35 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 111 - -#define ADA_TEST_NAME "ADA TM 8" -#define CONFIGURE_MAXIMUM_TIMERS 110 -#define CONFIGURE_MAXIMUM_SEMAPHORES 101 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm08/init.c b/testsuites/ada/tmtests/tm08/init.c new file mode 100644 index 0000000000..ded1a2e130 --- /dev/null +++ b/testsuites/ada/tmtests/tm08/init.c @@ -0,0 +1,35 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 111 + +#define ADA_TEST_NAME "ADA TM 8" +#define CONFIGURE_MAXIMUM_TIMERS 110 +#define CONFIGURE_MAXIMUM_SEMAPHORES 101 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm09/Makefile.am b/testsuites/ada/tmtests/tm09/Makefile.am index c18e062364..d5c0df35a1 100644 --- a/testsuites/ada/tmtests/tm09/Makefile.am +++ b/testsuites/ada/tmtests/tm09/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm09 ada_tm09_SOURCES = tm09.adb config.h tmtest.adb tmtest.ads -ada_tm09_SOURCES += ../../support/init.c +ada_tm09_SOURCES += init.c ada_tm09$(EXEEXT): tm09.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm09/config.h b/testsuites/ada/tmtests/tm09/config.h deleted file mode 100644 index c14f17c385..0000000000 --- a/testsuites/ada/tmtests/tm09/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 2 - -#define ADA_TEST_NAME "ADA TM 9" -#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm09/init.c b/testsuites/ada/tmtests/tm09/init.c new file mode 100644 index 0000000000..0db14c4815 --- /dev/null +++ b/testsuites/ada/tmtests/tm09/init.c @@ -0,0 +1,34 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 2 + +#define ADA_TEST_NAME "ADA TM 9" +#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm10/Makefile.am b/testsuites/ada/tmtests/tm10/Makefile.am index aa9b23f750..6ea9e2579c 100644 --- a/testsuites/ada/tmtests/tm10/Makefile.am +++ b/testsuites/ada/tmtests/tm10/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm10 ada_tm10_SOURCES = tm10.adb config.h tmtest.adb tmtest.ads -ada_tm10_SOURCES += ../../support/init.c +ada_tm10_SOURCES += init.c ada_tm10$(EXEEXT): tm10.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm10/config.h b/testsuites/ada/tmtests/tm10/config.h deleted file mode 100644 index fd96463749..0000000000 --- a/testsuites/ada/tmtests/tm10/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 110 - -#define ADA_TEST_NAME "ADA TM 10" -#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm10/init.c b/testsuites/ada/tmtests/tm10/init.c new file mode 100644 index 0000000000..3c3c5261b5 --- /dev/null +++ b/testsuites/ada/tmtests/tm10/init.c @@ -0,0 +1,34 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 110 + +#define ADA_TEST_NAME "ADA TM 10" +#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm11/Makefile.am b/testsuites/ada/tmtests/tm11/Makefile.am index 57f30eb50a..6133b357be 100644 --- a/testsuites/ada/tmtests/tm11/Makefile.am +++ b/testsuites/ada/tmtests/tm11/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm11 ada_tm11_SOURCES = tm11.adb config.h tmtest.adb tmtest.ads -ada_tm11_SOURCES += ../../support/init.c +ada_tm11_SOURCES += init.c ada_tm11$(EXEEXT): tm11.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm11/config.h b/testsuites/ada/tmtests/tm11/config.h deleted file mode 100644 index e4ed6d1c83..0000000000 --- a/testsuites/ada/tmtests/tm11/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 111 - -#define ADA_TEST_NAME "ADA TM 11" -#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm11/init.c b/testsuites/ada/tmtests/tm11/init.c new file mode 100644 index 0000000000..93f4e1d1e4 --- /dev/null +++ b/testsuites/ada/tmtests/tm11/init.c @@ -0,0 +1,34 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 111 + +#define ADA_TEST_NAME "ADA TM 11" +#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm12/Makefile.am b/testsuites/ada/tmtests/tm12/Makefile.am index a1b8205bad..3314b07915 100644 --- a/testsuites/ada/tmtests/tm12/Makefile.am +++ b/testsuites/ada/tmtests/tm12/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm12 ada_tm12_SOURCES = tm12.adb config.h tmtest.adb tmtest.ads -ada_tm12_SOURCES += ../../support/init.c +ada_tm12_SOURCES += init.c ada_tm12$(EXEEXT): tm12.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm12/config.h b/testsuites/ada/tmtests/tm12/config.h deleted file mode 100644 index 1d9df47b78..0000000000 --- a/testsuites/ada/tmtests/tm12/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 111 - -#define ADA_TEST_NAME "ADA TM 12" -#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm12/init.c b/testsuites/ada/tmtests/tm12/init.c new file mode 100644 index 0000000000..421e44fab3 --- /dev/null +++ b/testsuites/ada/tmtests/tm12/init.c @@ -0,0 +1,34 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 111 + +#define ADA_TEST_NAME "ADA TM 12" +#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm13/Makefile.am b/testsuites/ada/tmtests/tm13/Makefile.am index 8a0a8d9fb4..1aed6def5c 100644 --- a/testsuites/ada/tmtests/tm13/Makefile.am +++ b/testsuites/ada/tmtests/tm13/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm13 ada_tm13_SOURCES = tm13.adb config.h tmtest.adb tmtest.ads -ada_tm13_SOURCES += ../../support/init.c +ada_tm13_SOURCES += init.c ada_tm13$(EXEEXT): tm13.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm13/config.h b/testsuites/ada/tmtests/tm13/config.h deleted file mode 100644 index b05713dd8d..0000000000 --- a/testsuites/ada/tmtests/tm13/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 111 - -#define ADA_TEST_NAME "ADA TM 13" -#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm13/init.c b/testsuites/ada/tmtests/tm13/init.c new file mode 100644 index 0000000000..ecf18b29ab --- /dev/null +++ b/testsuites/ada/tmtests/tm13/init.c @@ -0,0 +1,34 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 111 + +#define ADA_TEST_NAME "ADA TM 13" +#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm14/Makefile.am b/testsuites/ada/tmtests/tm14/Makefile.am index d2cde84616..d1be5e7a21 100644 --- a/testsuites/ada/tmtests/tm14/Makefile.am +++ b/testsuites/ada/tmtests/tm14/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm14 ada_tm14_SOURCES = tm14.adb config.h tmtest.adb tmtest.ads -ada_tm14_SOURCES += ../../support/init.c +ada_tm14_SOURCES += init.c ada_tm14$(EXEEXT): tm14.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm14/config.h b/testsuites/ada/tmtests/tm14/config.h deleted file mode 100644 index ee8a005be0..0000000000 --- a/testsuites/ada/tmtests/tm14/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 111 - -#define ADA_TEST_NAME "ADA TM 14" -#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm14/init.c b/testsuites/ada/tmtests/tm14/init.c new file mode 100644 index 0000000000..3555139575 --- /dev/null +++ b/testsuites/ada/tmtests/tm14/init.c @@ -0,0 +1,34 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 111 + +#define ADA_TEST_NAME "ADA TM 14" +#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm15/Makefile.am b/testsuites/ada/tmtests/tm15/Makefile.am index 9f94ba797a..258d178f7f 100644 --- a/testsuites/ada/tmtests/tm15/Makefile.am +++ b/testsuites/ada/tmtests/tm15/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm15 ada_tm15_SOURCES = tm15.adb config.h tmtest.adb tmtest.ads -ada_tm15_SOURCES += ../../support/init.c +ada_tm15_SOURCES += init.c ada_tm15$(EXEEXT): tm15.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm15/config.h b/testsuites/ada/tmtests/tm15/config.h deleted file mode 100644 index 1753ca083c..0000000000 --- a/testsuites/ada/tmtests/tm15/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 111 - -#define ADA_TEST_NAME "ADA TM 15" -#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm15/init.c b/testsuites/ada/tmtests/tm15/init.c new file mode 100644 index 0000000000..c1b831d4bf --- /dev/null +++ b/testsuites/ada/tmtests/tm15/init.c @@ -0,0 +1,34 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 111 + +#define ADA_TEST_NAME "ADA TM 15" +#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm16/Makefile.am b/testsuites/ada/tmtests/tm16/Makefile.am index 8b7595b2e5..3fd0aa53c8 100644 --- a/testsuites/ada/tmtests/tm16/Makefile.am +++ b/testsuites/ada/tmtests/tm16/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm16 ada_tm16_SOURCES = tm16.adb config.h tmtest.adb tmtest.ads -ada_tm16_SOURCES += ../../support/init.c +ada_tm16_SOURCES += init.c ada_tm16$(EXEEXT): tm16.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm16/config.h b/testsuites/ada/tmtests/tm16/config.h deleted file mode 100644 index 324be4e677..0000000000 --- a/testsuites/ada/tmtests/tm16/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 111 - -#define ADA_TEST_NAME "ADA TM 16" -#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm16/init.c b/testsuites/ada/tmtests/tm16/init.c new file mode 100644 index 0000000000..64e613fbd8 --- /dev/null +++ b/testsuites/ada/tmtests/tm16/init.c @@ -0,0 +1,34 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 111 + +#define ADA_TEST_NAME "ADA TM 16" +#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm17/Makefile.am b/testsuites/ada/tmtests/tm17/Makefile.am index 2e74d1118d..52c73aa5d7 100644 --- a/testsuites/ada/tmtests/tm17/Makefile.am +++ b/testsuites/ada/tmtests/tm17/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm17 ada_tm17_SOURCES = tm17.adb config.h tmtest.adb tmtest.ads -ada_tm17_SOURCES += ../../support/init.c +ada_tm17_SOURCES += init.c ada_tm17$(EXEEXT): tm17.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm17/config.h b/testsuites/ada/tmtests/tm17/config.h deleted file mode 100644 index 9eb0d0f1a6..0000000000 --- a/testsuites/ada/tmtests/tm17/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 111 - -#define ADA_TEST_NAME "ADA TM 17" -#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm17/init.c b/testsuites/ada/tmtests/tm17/init.c new file mode 100644 index 0000000000..a4115412e3 --- /dev/null +++ b/testsuites/ada/tmtests/tm17/init.c @@ -0,0 +1,34 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 111 + +#define ADA_TEST_NAME "ADA TM 17" +#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm18/Makefile.am b/testsuites/ada/tmtests/tm18/Makefile.am index a61ec0e3cb..c583bb1b56 100644 --- a/testsuites/ada/tmtests/tm18/Makefile.am +++ b/testsuites/ada/tmtests/tm18/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm18 ada_tm18_SOURCES = tm18.adb config.h tmtest.adb tmtest.ads -ada_tm18_SOURCES += ../../support/init.c +ada_tm18_SOURCES += init.c ada_tm18$(EXEEXT): tm18.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm18/config.h b/testsuites/ada/tmtests/tm18/config.h deleted file mode 100644 index cebc0653d9..0000000000 --- a/testsuites/ada/tmtests/tm18/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 111 - -#define ADA_TEST_NAME "ADA TM 18" -#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm18/init.c b/testsuites/ada/tmtests/tm18/init.c new file mode 100644 index 0000000000..b9f602170f --- /dev/null +++ b/testsuites/ada/tmtests/tm18/init.c @@ -0,0 +1,34 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 111 + +#define ADA_TEST_NAME "ADA TM 18" +#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm19/Makefile.am b/testsuites/ada/tmtests/tm19/Makefile.am index f594559539..ce882a628b 100644 --- a/testsuites/ada/tmtests/tm19/Makefile.am +++ b/testsuites/ada/tmtests/tm19/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm19 ada_tm19_SOURCES = tm19.adb config.h tmtest.adb tmtest.ads -ada_tm19_SOURCES += ../../support/init.c +ada_tm19_SOURCES += init.c ada_tm19$(EXEEXT): tm19.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm19/config.h b/testsuites/ada/tmtests/tm19/config.h deleted file mode 100644 index b41632e8a2..0000000000 --- a/testsuites/ada/tmtests/tm19/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 111 - -#define ADA_TEST_NAME "ADA TM 19" -#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm19/init.c b/testsuites/ada/tmtests/tm19/init.c new file mode 100644 index 0000000000..5dda49aaee --- /dev/null +++ b/testsuites/ada/tmtests/tm19/init.c @@ -0,0 +1,34 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 111 + +#define ADA_TEST_NAME "ADA TM 19" +#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm20/Makefile.am b/testsuites/ada/tmtests/tm20/Makefile.am index 71b7798d40..508010465e 100644 --- a/testsuites/ada/tmtests/tm20/Makefile.am +++ b/testsuites/ada/tmtests/tm20/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm20 ada_tm20_SOURCES = tm20.adb config.h tmtest.adb tmtest.ads -ada_tm20_SOURCES += ../../support/init.c +ada_tm20_SOURCES += init.c ada_tm20$(EXEEXT): tm20.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm20/config.h b/testsuites/ada/tmtests/tm20/config.h deleted file mode 100644 index 2085f4ea0b..0000000000 --- a/testsuites/ada/tmtests/tm20/config.h +++ /dev/null @@ -1,35 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_PARTITIONS 1 -#define CONFIGURE_MAXIMUM_REGIONS 1 -#define CONFIGURE_MAXIMUM_TASKS 3 - -#define ADA_TEST_NAME "ADA TM 20" -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm20/init.c b/testsuites/ada/tmtests/tm20/init.c new file mode 100644 index 0000000000..6c5481debb --- /dev/null +++ b/testsuites/ada/tmtests/tm20/init.c @@ -0,0 +1,35 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_PARTITIONS 1 +#define CONFIGURE_MAXIMUM_REGIONS 1 +#define CONFIGURE_MAXIMUM_TASKS 3 + +#define ADA_TEST_NAME "ADA TM 20" +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm21/Makefile.am b/testsuites/ada/tmtests/tm21/Makefile.am index 92fb9b3250..7910db02e4 100644 --- a/testsuites/ada/tmtests/tm21/Makefile.am +++ b/testsuites/ada/tmtests/tm21/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm21 ada_tm21_SOURCES = tm21.adb config.h tmtest.adb tmtest.ads -ada_tm21_SOURCES += ../../support/init.c +ada_tm21_SOURCES += init.c ada_tm21$(EXEEXT): tm21.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm21/config.h b/testsuites/ada/tmtests/tm21/config.h deleted file mode 100644 index 1398cd6a86..0000000000 --- a/testsuites/ada/tmtests/tm21/config.h +++ /dev/null @@ -1,40 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 102 - -#define ADA_TEST_NAME "ADA TM 21" -#define CONFIGURE_MAXIMUM_TIMERS 100 -#define CONFIGURE_MAXIMUM_SEMAPHORES 100 -#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 100 -#define CONFIGURE_MAXIMUM_PARTITIONS 100 -#define CONFIGURE_MAXIMUM_REGIONS 100 -#define CONFIGURE_MAXIMUM_PORTS 100 -#define CONFIGURE_MAXIMUM_PERIODS 100 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm21/init.c b/testsuites/ada/tmtests/tm21/init.c new file mode 100644 index 0000000000..a3646f313b --- /dev/null +++ b/testsuites/ada/tmtests/tm21/init.c @@ -0,0 +1,40 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 102 + +#define ADA_TEST_NAME "ADA TM 21" +#define CONFIGURE_MAXIMUM_TIMERS 100 +#define CONFIGURE_MAXIMUM_SEMAPHORES 100 +#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 100 +#define CONFIGURE_MAXIMUM_PARTITIONS 100 +#define CONFIGURE_MAXIMUM_REGIONS 100 +#define CONFIGURE_MAXIMUM_PORTS 100 +#define CONFIGURE_MAXIMUM_PERIODS 100 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm22/Makefile.am b/testsuites/ada/tmtests/tm22/Makefile.am index b40061c52e..d042545351 100644 --- a/testsuites/ada/tmtests/tm22/Makefile.am +++ b/testsuites/ada/tmtests/tm22/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm22 ada_tm22_SOURCES = tm22.adb config.h tmtest.adb tmtest.ads -ada_tm22_SOURCES += ../../support/init.c +ada_tm22_SOURCES += init.c ada_tm22$(EXEEXT): tm22.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm22/config.h b/testsuites/ada/tmtests/tm22/config.h deleted file mode 100644 index 7da538839e..0000000000 --- a/testsuites/ada/tmtests/tm22/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 103 - -#define ADA_TEST_NAME "ADA TM 22" -#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm22/init.c b/testsuites/ada/tmtests/tm22/init.c new file mode 100644 index 0000000000..368119d9a3 --- /dev/null +++ b/testsuites/ada/tmtests/tm22/init.c @@ -0,0 +1,34 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 103 + +#define ADA_TEST_NAME "ADA TM 22" +#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm23/Makefile.am b/testsuites/ada/tmtests/tm23/Makefile.am index ab12b04e3c..25414705bd 100644 --- a/testsuites/ada/tmtests/tm23/Makefile.am +++ b/testsuites/ada/tmtests/tm23/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm23 ada_tm23_SOURCES = tm23.adb config.h tmtest.adb tmtest.ads -ada_tm23_SOURCES += ../../support/init.c +ada_tm23_SOURCES += init.c ada_tm23$(EXEEXT): tm23.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm23/config.h b/testsuites/ada/tmtests/tm23/config.h deleted file mode 100644 index 98fcf60487..0000000000 --- a/testsuites/ada/tmtests/tm23/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 111 - -#define ADA_TEST_NAME "ADA TM 23" -#define CONFIGURE_MAXIMUM_TIMERS 110 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm23/init.c b/testsuites/ada/tmtests/tm23/init.c new file mode 100644 index 0000000000..9ad2f691a0 --- /dev/null +++ b/testsuites/ada/tmtests/tm23/init.c @@ -0,0 +1,34 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 111 + +#define ADA_TEST_NAME "ADA TM 23" +#define CONFIGURE_MAXIMUM_TIMERS 110 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm24/Makefile.am b/testsuites/ada/tmtests/tm24/Makefile.am index da6caa8738..1130cbc88a 100644 --- a/testsuites/ada/tmtests/tm24/Makefile.am +++ b/testsuites/ada/tmtests/tm24/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm24 ada_tm24_SOURCES = tm24.adb config.h tmtest.adb tmtest.ads -ada_tm24_SOURCES += ../../support/init.c +ada_tm24_SOURCES += init.c ada_tm24$(EXEEXT): tm24.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm24/config.h b/testsuites/ada/tmtests/tm24/config.h deleted file mode 100644 index 207ac7eed3..0000000000 --- a/testsuites/ada/tmtests/tm24/config.h +++ /dev/null @@ -1,33 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 111 - -#define ADA_TEST_NAME "ADA TM 24" -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm24/init.c b/testsuites/ada/tmtests/tm24/init.c new file mode 100644 index 0000000000..da98a9ddbd --- /dev/null +++ b/testsuites/ada/tmtests/tm24/init.c @@ -0,0 +1,33 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 111 + +#define ADA_TEST_NAME "ADA TM 24" +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm25/Makefile.am b/testsuites/ada/tmtests/tm25/Makefile.am index 77f2286d83..dfdc3994a5 100644 --- a/testsuites/ada/tmtests/tm25/Makefile.am +++ b/testsuites/ada/tmtests/tm25/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm25 ada_tm25_SOURCES = tm25.adb config.h tmtest.adb tmtest.ads -ada_tm25_SOURCES += ../../support/init.c +ada_tm25_SOURCES += init.c ada_tm25$(EXEEXT): tm25.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm25/config.h b/testsuites/ada/tmtests/tm25/config.h deleted file mode 100644 index 79b6724665..0000000000 --- a/testsuites/ada/tmtests/tm25/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 111 - -#define ADA_TEST_NAME "ADA TM 25" -#define CONFIGURE_MAXIMUM_SEMAPHORES 1 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm25/init.c b/testsuites/ada/tmtests/tm25/init.c new file mode 100644 index 0000000000..ddbde343b0 --- /dev/null +++ b/testsuites/ada/tmtests/tm25/init.c @@ -0,0 +1,34 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 111 + +#define ADA_TEST_NAME "ADA TM 25" +#define CONFIGURE_MAXIMUM_SEMAPHORES 1 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm28/Makefile.am b/testsuites/ada/tmtests/tm28/Makefile.am index a18cc5498b..5f951d8a40 100644 --- a/testsuites/ada/tmtests/tm28/Makefile.am +++ b/testsuites/ada/tmtests/tm28/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm28 ada_tm28_SOURCES = tm28.adb config.h tmtest.adb tmtest.ads -ada_tm28_SOURCES += ../../support/init.c +ada_tm28_SOURCES += init.c ada_tm28$(EXEEXT): tm28.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm28/config.h b/testsuites/ada/tmtests/tm28/config.h deleted file mode 100644 index aca19475c3..0000000000 --- a/testsuites/ada/tmtests/tm28/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 2 - -#define ADA_TEST_NAME "ADA TM 28" -#define CONFIGURE_MAXIMUM_PORTS 1 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm28/init.c b/testsuites/ada/tmtests/tm28/init.c new file mode 100644 index 0000000000..4451f86000 --- /dev/null +++ b/testsuites/ada/tmtests/tm28/init.c @@ -0,0 +1,34 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 2 + +#define ADA_TEST_NAME "ADA TM 28" +#define CONFIGURE_MAXIMUM_PORTS 1 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tm29/Makefile.am b/testsuites/ada/tmtests/tm29/Makefile.am index 3b9c540335..6f4377d6bf 100644 --- a/testsuites/ada/tmtests/tm29/Makefile.am +++ b/testsuites/ada/tmtests/tm29/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tm29 ada_tm29_SOURCES = tm29.adb config.h tmtest.adb tmtest.ads -ada_tm29_SOURCES += ../../support/init.c +ada_tm29_SOURCES += init.c ada_tm29$(EXEEXT): tm29.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tm29/config.h b/testsuites/ada/tmtests/tm29/config.h deleted file mode 100644 index fd99933160..0000000000 --- a/testsuites/ada/tmtests/tm29/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 111 - -#define ADA_TEST_NAME "ADA TM 29" -#define CONFIGURE_MAXIMUM_PERIODS 111 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tm29/init.c b/testsuites/ada/tmtests/tm29/init.c new file mode 100644 index 0000000000..6789a328bc --- /dev/null +++ b/testsuites/ada/tmtests/tm29/init.c @@ -0,0 +1,34 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 111 + +#define ADA_TEST_NAME "ADA TM 29" +#define CONFIGURE_MAXIMUM_PERIODS 111 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tmck/Makefile.am b/testsuites/ada/tmtests/tmck/Makefile.am index 0c4ccd9f95..9a74923c3b 100644 --- a/testsuites/ada/tmtests/tmck/Makefile.am +++ b/testsuites/ada/tmtests/tmck/Makefile.am @@ -5,7 +5,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tmck ada_tmck_SOURCES = tmck.adb config.h tmtest.adb tmtest.ads -ada_tmck_SOURCES += ../../support/init.c +ada_tmck_SOURCES += init.c ada_tmck$(EXEEXT): tmck.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tmck/config.h b/testsuites/ada/tmtests/tmck/config.h deleted file mode 100644 index 40b56220a9..0000000000 --- a/testsuites/ada/tmtests/tmck/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 2 - -#define ADA_TEST_NAME "ADA TMCK" -#define CONFIGURE_MAXIMUM_SEMAPHORES 1 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tmck/init.c b/testsuites/ada/tmtests/tmck/init.c new file mode 100644 index 0000000000..0bce9d48f3 --- /dev/null +++ b/testsuites/ada/tmtests/tmck/init.c @@ -0,0 +1,34 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 2 + +#define ADA_TEST_NAME "ADA TMCK" +#define CONFIGURE_MAXIMUM_SEMAPHORES 1 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ diff --git a/testsuites/ada/tmtests/tmoverhd/Makefile.am b/testsuites/ada/tmtests/tmoverhd/Makefile.am index e12637fc51..75e9719426 100644 --- a/testsuites/ada/tmtests/tmoverhd/Makefile.am +++ b/testsuites/ada/tmtests/tmoverhd/Makefile.am @@ -6,7 +6,7 @@ include $(top_srcdir)/ada.am noinst_PROGRAMS = ada_tmoverhd ada_tmoverhd_SOURCES = tmoverhd.adb config.h tmtest.adb tmtest.ads \ dummy_rtems.adb dummy_rtems.ads -ada_tmoverhd_SOURCES += ../../support/init.c +ada_tmoverhd_SOURCES += init.c ada_tmoverhd$(EXEEXT): tmoverhd.adb init.$(OBJEXT) $(GNATCOMPILE) -margs -a $< -o $@ diff --git a/testsuites/ada/tmtests/tmoverhd/config.h b/testsuites/ada/tmtests/tmoverhd/config.h deleted file mode 100644 index df551c90fe..0000000000 --- a/testsuites/ada/tmtests/tmoverhd/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* config.h - * - * This include file defines the Configuration Table for this test. - * - * COPYRIGHT (c) 1989-1997. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - - -/* configuration information */ - -#define CONFIGURE_TMTEST - -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 2 - -#define ADA_TEST_NAME "ADA TMOVERHD" -#define CONFIGURE_MAXIMUM_SEMAPHORES 1 -#define CONFIGURE_TICKS_PER_TIMESLICE 0 - -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - -#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 -#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 - -#include - -/* end of include file */ diff --git a/testsuites/ada/tmtests/tmoverhd/init.c b/testsuites/ada/tmtests/tmoverhd/init.c new file mode 100644 index 0000000000..37b6c28faa --- /dev/null +++ b/testsuites/ada/tmtests/tmoverhd/init.c @@ -0,0 +1,34 @@ +/* config.h + * + * This include file defines the Configuration Table for this test. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + + +/* configuration information */ + +#define CONFIGURE_TMTEST + +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 2 + +#define ADA_TEST_NAME "ADA TMOVERHD" +#define CONFIGURE_MAXIMUM_SEMAPHORES 1 +#define CONFIGURE_TICKS_PER_TIMESLICE 0 + +#define CONFIGURE_POSIX_INIT_THREAD_TABLE + +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 +#define CONFIGURE_MAXIMUM_POSIX_KEYS 10 + +#include "../../support/initimpl.h" + +/* end of include file */ -- cgit v1.2.3