summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sptimer_err02
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/sptimer_err02
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/sptimer_err02')
-rw-r--r--testsuites/sptests/sptimer_err02/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/sptimer_err02/init.c b/testsuites/sptests/sptimer_err02/init.c
index 0e644106f1..23fcf53e2c 100644
--- a/testsuites/sptests/sptimer_err02/init.c
+++ b/testsuites/sptests/sptimer_err02/init.c
@@ -14,6 +14,8 @@
#include <tmacros.h>
#include "test_support.h"
+const char rtems_test_name[] = "SPTIMER_ERR 2";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
rtems_timer_service_routine Delayed_routine(
@@ -25,7 +27,7 @@ rtems_task Init(
rtems_task_argument argument
)
{
- puts( "\n\n*** TEST SPTIMER_ERR02 ***" );
+ TEST_BEGIN();
rtems_status_code status;
rtems_time_of_day time;
@@ -197,7 +199,7 @@ rtems_task Init(
" - before RTEMS_INVALID_CLOCK\n"
);
- puts( "*** END OF TEST SPTIMER_ERR02 ***" );
+ TEST_END();
rtems_test_exit(0);
}
@@ -221,6 +223,8 @@ rtems_timer_service_routine Delayed_routine(
#define CONFIGURE_MAXIMUM_TIMERS 1
#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)