forked from Imagelibrary/rtems
testsuite: Fix networking samples to use the RTEMS printer.
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
#include <bsp.h>
|
#include <bsp.h>
|
||||||
|
|
||||||
const char rtems_test_name[] = "LOOPBACK";
|
const char rtems_test_name[] = "LOOPBACK";
|
||||||
|
rtems_printer rtems_test_printer;
|
||||||
|
|
||||||
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
|
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
|
||||||
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
|
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
|
||||||
@@ -247,6 +248,8 @@ Init (rtems_task_argument ignored)
|
|||||||
{
|
{
|
||||||
rtems_status_code sc;
|
rtems_status_code sc;
|
||||||
|
|
||||||
|
rtems_print_printer_printf(&rtems_test_printer);
|
||||||
|
|
||||||
rtems_test_begin();
|
rtems_test_begin();
|
||||||
|
|
||||||
sc = rtems_semaphore_create(rtems_build_name('P','m','t','x'),
|
sc = rtems_semaphore_create(rtems_build_name('P','m','t','x'),
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
#include "netconfig.h"
|
#include "netconfig.h"
|
||||||
|
|
||||||
const char rtems_test_name[] = "PPPD";
|
const char rtems_test_name[] = "PPPD";
|
||||||
|
rtems_printer rtems_test_printer;
|
||||||
|
|
||||||
static void notification(int fd, int seconds_remaining, void *arg)
|
static void notification(int fd, int seconds_remaining, void *arg)
|
||||||
{
|
{
|
||||||
@@ -37,6 +38,8 @@ rtems_task Init(rtems_task_argument argument)
|
|||||||
{
|
{
|
||||||
rtems_status_code status;
|
rtems_status_code status;
|
||||||
|
|
||||||
|
rtems_print_printer_printf(&rtems_test_printer);
|
||||||
|
|
||||||
rtems_test_begin();
|
rtems_test_begin();
|
||||||
|
|
||||||
status = rtems_shell_wait_for_input(
|
status = rtems_shell_wait_for_input(
|
||||||
|
|||||||
Reference in New Issue
Block a user