From 9391f6d6637c752046cdfd89ae2eeea147496e44 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 10 Mar 2014 16:31:43 +0100 Subject: tests/samples: Use --- testsuites/samples/pppd/init.c | 4 ++++ testsuites/samples/pppd/system.h | 3 +++ 2 files changed, 7 insertions(+) (limited to 'testsuites/samples/pppd') diff --git a/testsuites/samples/pppd/init.c b/testsuites/samples/pppd/init.c index 4519ad64aa..44b27607c6 100644 --- a/testsuites/samples/pppd/init.c +++ b/testsuites/samples/pppd/init.c @@ -24,11 +24,15 @@ #include "netconfig.h" #endif +const char rtems_test_name[] = "PPPD"; + rtems_task Init(rtems_task_argument argument) { #if BSP_SMALL_MEMORY printf("NO NETWORKING. MEMORY TOO SMALL"); #else + rtems_test_begin(); + /* initialize network */ rtems_bsdnet_initialize_network(); rtems_pppd_initialize(); diff --git a/testsuites/samples/pppd/system.h b/testsuites/samples/pppd/system.h index 5e70ddb2fc..a2282ac90f 100644 --- a/testsuites/samples/pppd/system.h +++ b/testsuites/samples/pppd/system.h @@ -2,6 +2,7 @@ #define SYSTEM_H #include +#include #include #include @@ -40,6 +41,8 @@ extern int pppdapp_initialize(void); RTEMS_NO_ASR | \ RTEMS_INTERRUPT_LEVEL(0)) +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #include #endif -- cgit v1.2.3