source: rtems/testsuites/itrontests/itronmbox01/init.c @ 5a8e7503

4.104.114.95
Last change on this file since 5a8e7503 was 016e1e2, checked in by Joel Sherrill <joel.sherrill@…>, on Feb 1, 2008 at 12:45:01 AM

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

  • itronhello/init.c, itronmbf01/init.c, itronmbox01/init.c, itronsem01/init.c, itrontask01/init.c, itrontask02/init.c, itrontask03/init.c, itrontask04/init.c, itrontime01/init.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: 958 bytes
Line 
1/*  Init
2 *
3 *  This routine is the initialization task for this test program.
4 *  It is called from init_exec and has the responsibility for creating
5 *  and starting the tasks that make up the test.  If the time of day
6 *  clock is required for the test, it should also be set to a known
7 *  value by this function.
8 *
9 *  Input parameters:  NONE
10 *
11 *  Output parameters:  NONE
12 *
13 *  COPYRIGHT (c) 1989-1999.
14 *  On-Line Applications Research Corporation (OAR).
15 *
16 *  The license and distribution terms for this file may be
17 *  found in the file LICENSE in this distribution or at
18 *  http://www.rtems.com/license/LICENSE.
19 *
20 *  $Id$
21 */
22
23#define CONFIGURE_INIT
24#include "system.h"
25#include <stdio.h>
26#include <time.h>
27
28void ITRON_Init( void )
29{
30  printf( "\n\n*** ITRON MBOX TEST 01 ***\n" );
31  printf( "ITRON Mailboxes are implemented but there is currently no test.\n" );
32  printf( "*** END OF ITRON MBOX TEST 01 ***\n" );
33  rtems_test_exit( 0 );
34}
Note: See TracBrowser for help on using the repository browser.