source: rtems/testsuites/samples/paranoia/init.c @ 3324383c

4.11
Last change on this file since 3324383c was 3324383c, checked in by Joel Sherrill <joel.sherrill@…>, on May 5, 2014 at 2:47:30 PM

testsuites: Remove BSP_SMALL_MEMORY

  • Property mode set to 100644
File size: 819 bytes
RevLine 
[5f0cd34]1/*
2 *  COPYRIGHT (c) 1989-2012.
[ac7d5ef0]3 *  On-Line Applications Research Corporation (OAR).
4 *
[98e4ebf]5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
[c499856]7 *  http://www.rtems.org/license/LICENSE.
[ac7d5ef0]8 */
9
[e313551]10#ifdef HAVE_CONFIG_H
11#include "config.h"
12#endif
13
[df49c60]14#define CONFIGURE_INIT
[ac7d5ef0]15#include "system.h"
[df49c60]16#include <stdio.h>
[d25d17b]17#include <stdlib.h> /* exit */
[ac7d5ef0]18
19extern int paranoia(int, char **);
20
[9391f6d]21const char rtems_test_name[] = "PARANOIA";
22
[ac7d5ef0]23char *args[2] = { "paranoia", 0 };
24
25rtems_task Init(
26  rtems_task_argument ignored
27)
28{
[58e3dc79]29  /*
30   *  Install whatever optional floating point assistance package
31   *  is required by this CPU.
32   */
33
34#if (defined (m68040))
35  M68KFPSPInstallExceptionHandlers ();
36#endif
37
[9391f6d]38  rtems_test_begin();
[ac7d5ef0]39  paranoia(1, args);
[9391f6d]40  rtems_test_end();
[ac7d5ef0]41  exit( 0 );
42}
Note: See TracBrowser for help on using the repository browser.