source: rtems/testsuites/psxtests/psxbarrier01/main.c @ 698c2e50

4.115
Last change on this file since 698c2e50 was 698c2e50, checked in by Sebastian Huber <sebastian.huber@…>, on 03/25/14 at 07:06:16

tests/psxtests: Use <rtems/test.h>

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*
2 *  COPYRIGHT (c) 1989-2012.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.org/license/LICENSE.
8 */
9
10#define CONFIGURE_INIT
11
12#ifdef HAVE_CONFIG_H
13#include "config.h"
14#endif
15
16#include <rtems/test.h>
17#include <bsp.h>
18#include <pmacros.h>
19
20/* forward declarations to avoid warnings */
21rtems_task Init(rtems_task_argument argument);
22
23void test_main( void );
24
25rtems_task Init(
26  rtems_task_argument ignored
27)
28{
29  test_main();
30  rtems_test_exit( 0 );
31}
32
33/* configuration information */
34
35#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
36#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
37
38#define CONFIGURE_MAXIMUM_TASKS 1
39#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
40
41#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
42
43#define CONFIGURE_MAXIMUM_POSIX_BARRIERS 1
44
45#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
46
47#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
48#define CONFIGURE_INIT_TASK_STACK_SIZE    (RTEMS_MINIMUM_STACK_SIZE * 2)
49
50#define CONFIGURE_INIT
51
52#include <rtems/confdefs.h>
53
54/* end of file */
Note: See TracBrowser for help on using the repository browser.