summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp52/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/sp52/init.c')
-rw-r--r--testsuites/sptests/sp52/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/sp52/init.c b/testsuites/sptests/sp52/init.c
index 1615bd7d94..f003d1c85e 100644
--- a/testsuites/sptests/sp52/init.c
+++ b/testsuites/sptests/sp52/init.c
@@ -27,6 +27,8 @@
#include <tmacros.h>
+const char rtems_test_name[] = "SP " TEST_NUMBER;
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
rtems_timer_service_routine TIMER_service_routine(
@@ -57,7 +59,7 @@ rtems_task Init(
rtems_time_of_day global_time;
rtems_time_of_day time_to_fire;
- puts( "\n\n*** TEST " TEST_NUMBER " ***" );
+ TEST_BEGIN();
/* build timer name*/
timer_name = rtems_build_name('T', 'M', '1', ' ');
@@ -107,7 +109,7 @@ rtems_task Init(
puts( TSR_MODE " Timer fired after setting time forward -- OK");
- puts( "*** END OF TEST " TEST_NUMBER " ***" );
+ TEST_END();
rtems_test_exit(0);
}
@@ -119,6 +121,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_TASKS 2
#define CONFIGURE_MAXIMUM_TIMERS 1
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT_TASK_PRIORITY (RTEMS_MINIMUM_PRIORITY + 1)