summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spwatchdog
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:21 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:21 +0100
commit6c0301daad418d362f71eaa7e5c4b6a2d948fc50 (patch)
treed08b9e09d3c69ca35f96c9f1eeff8eb244df92ed /testsuites/sptests/spwatchdog
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/spwatchdog')
-rw-r--r--testsuites/sptests/spwatchdog/init.c4
-rw-r--r--testsuites/sptests/spwatchdog/system.h2
-rw-r--r--testsuites/sptests/spwatchdog/task1.c2
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 );
}