diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:21 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:21 +0100 |
commit | 6c0301daad418d362f71eaa7e5c4b6a2d948fc50 (patch) | |
tree | d08b9e09d3c69ca35f96c9f1eeff8eb244df92ed /testsuites/sptests/spwatchdog | |
parent | tests/psxtests: Use <rtems/test.h> (diff) | |
download | rtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2 |
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/spwatchdog')
-rw-r--r-- | testsuites/sptests/spwatchdog/init.c | 4 | ||||
-rw-r--r-- | testsuites/sptests/spwatchdog/system.h | 2 | ||||
-rw-r--r-- | testsuites/sptests/spwatchdog/task1.c | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/spwatchdog/init.c b/testsuites/sptests/spwatchdog/init.c index 2e952b6a0a..c104aecc0a 100644 --- a/testsuites/sptests/spwatchdog/init.c +++ b/testsuites/sptests/spwatchdog/init.c @@ -24,6 +24,8 @@ #include <rtems/score/watchdogimpl.h> +const char rtems_test_name[] = "SPWATCHDOG"; + static void test_watchdog_routine( Objects_Id id, void *arg ) { (void) id; @@ -53,7 +55,7 @@ rtems_task Init( rtems_status_code status; Chain_Control empty; - puts( "\n*** RTEMS WATCHDOG ***" ); + TEST_BEGIN(); puts( "INIT - report on empty watchdog chain" ); diff --git a/testsuites/sptests/spwatchdog/system.h b/testsuites/sptests/spwatchdog/system.h index b2f1256ea6..887c8c8a42 100644 --- a/testsuites/sptests/spwatchdog/system.h +++ b/testsuites/sptests/spwatchdog/system.h @@ -39,6 +39,8 @@ rtems_task Task_1( #define CONFIGURE_MAXIMUM_TIMERS 2 #define CONFIGURE_INIT_TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE * 2) +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE) diff --git a/testsuites/sptests/spwatchdog/task1.c b/testsuites/sptests/spwatchdog/task1.c index 708cc7bcfe..f17ae9d171 100644 --- a/testsuites/sptests/spwatchdog/task1.c +++ b/testsuites/sptests/spwatchdog/task1.c @@ -93,6 +93,6 @@ rtems_task Task_1( status = rtems_timer_delete( tmid ); directive_failed( status, "rtems_timer_delete" ); - puts( "*** END OF RTEMS WATCHDOG PROGRAM ***" ); + TEST_END(); rtems_test_exit( 0 ); } |