summaryrefslogtreecommitdiff
path: root/testsuites/ada/sptests/sp09/init.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-11-27 11:41:06 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-11-27 11:50:09 +0100
commit1fca16659754d1e7c0ac12a81bd24003dbc80c56 (patch)
tree789e045cd6ab7a3977d34e5a517025b563f0b02f /testsuites/ada/sptests/sp09/init.c
parent4551f5f0dbb4971633c8aeae3d29a7437da5316d (diff)
testsuites/ada: Introduce init.c files
Provide an init.c for each Ada test instead of the #include <config.h> magic which works only due to hand crafted include paths. Update #3818.
Diffstat (limited to 'testsuites/ada/sptests/sp09/init.c')
-rw-r--r--testsuites/ada/sptests/sp09/init.c38
1 files changed, 38 insertions, 0 deletions
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 */