source: rtems/testsuites/psxtests/psxdevctl01/main.c @ af43554

5
Last change on this file since af43554 was af43554, checked in by Sebastian Huber <sebastian.huber@…>, on 10/26/17 at 11:59:11

tests: Remove TEST_INIT

The TEST_EXTERN is a used only by the system.h style tests and they use
CONFIGURE_INIT appropriately.

Update #3170.
Update #3199.

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