forked from Imagelibrary/rtems
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.
This commit is contained in:
36
testsuites/ada/samples/base_mp/init.c
Normal file
36
testsuites/ada/samples/base_mp/init.c
Normal file
@@ -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 */
|
||||
Reference in New Issue
Block a user