source: rtems/testsuites/psxtests/psxtime/main.c @ 66c348cb

4.104.114.95
Last change on this file since 66c348cb was 66c348cb, checked in by Joel Sherrill <joel.sherrill@…>, on 02/01/08 at 00:45:08

2008-01-31 Joel Sherrill <joel.sherrill@…>

  • include/pmacros.h, psx01/init.c, psx01/system.h, psx13/main.c, psxbarrier01/main.c, psxchroot01/main.c, psxfatal_support/init.c, psxfile01/main.c, psxfile01/test.c, psxmount/main.c, psxrdwrv/main.c, psxreaddir/main.c, psxrwlock01/main.c, psxspin01/main.c, psxstat/main.c, psxtime/main.c: Change TEST_INIT to CONFIGURE_INIT. Make tmacros.h available to all POSIX tests. Add a clock_settime case for < 1988.
  • Property mode set to 100644
File size: 842 bytes
Line 
1/*
2 *  Simple test program -- simplified version of sample test hello.
3 *
4 *  COPYRIGHT (c) 1989-1999.
5 *  On-Line Applications Research Corporation (OAR).
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.rtems.com/license/LICENSE.
10 *
11 *  $Id$
12 */
13
14#define CONFIGURE_INIT
15
16#include <bsp.h>
17#include <tmacros.h>  /* instantiate buffering code if needed */
18
19void test_main( void );
20
21rtems_task Init(
22  rtems_task_argument ignored
23)
24{
25  test_main();
26  rtems_test_exit( 0 );
27}
28
29/* configuration information */
30
31#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
32#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
33
34#define CONFIGURE_MAXIMUM_TASKS 1
35
36#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
37
38#define CONFIGURE_INIT
39
40#include <rtems/confdefs.h>
41
42/* end of file */
Note: See TracBrowser for help on using the repository browser.