forked from Imagelibrary/rtems
tests: Move rtems_test_printer definition
Statically initialize it to use printk(). Update #3170. Update #3199.
This commit is contained in:
@@ -29,7 +29,6 @@ rtems_task Init(rtems_task_argument argument);
|
||||
static void notification(int fd, int seconds_remaining, void *arg);
|
||||
|
||||
const char rtems_test_name[] = "CAPTURE ENGINE";
|
||||
rtems_printer rtems_test_printer;
|
||||
|
||||
volatile int can_proceed = 1;
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
rtems_task Init(rtems_task_argument argument);
|
||||
|
||||
const char rtems_test_name[] = "HELLO WORLD";
|
||||
rtems_printer rtems_test_printer;
|
||||
|
||||
rtems_task Init(
|
||||
rtems_task_argument ignored
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include <bsp.h>
|
||||
|
||||
const char rtems_test_name[] = "LOOPBACK";
|
||||
rtems_printer rtems_test_printer;
|
||||
|
||||
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
extern int paranoia(int, char **);
|
||||
|
||||
const char rtems_test_name[] = "PARANOIA";
|
||||
rtems_printer rtems_test_printer;
|
||||
|
||||
char *args[2] = { "paranoia", 0 };
|
||||
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include "netconfig.h"
|
||||
|
||||
const char rtems_test_name[] = "PPPD";
|
||||
rtems_printer rtems_test_printer;
|
||||
|
||||
static void notification(int fd, int seconds_remaining, void *arg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user