From 6c0301daad418d362f71eaa7e5c4b6a2d948fc50 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 25 Mar 2014 08:06:21 +0100 Subject: tests/sptests: Use --- testsuites/sptests/sp16/init.c | 4 +++- testsuites/sptests/sp16/system.h | 2 ++ testsuites/sptests/sp16/task1.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/sptests/sp16') diff --git a/testsuites/sptests/sp16/init.c b/testsuites/sptests/sp16/init.c index 645a3776d3..3b8543b7c0 100644 --- a/testsuites/sptests/sp16/init.c +++ b/testsuites/sptests/sp16/init.c @@ -26,13 +26,15 @@ #define CONFIGURE_INIT #include "system.h" +const char rtems_test_name[] = "SP 16"; + rtems_task Init( rtems_task_argument argument ) { rtems_status_code status; - puts( "\n\n*** TEST 16 ***" ); + TEST_BEGIN(); Task_name[ 1 ] = rtems_build_name( 'T', 'A', '1', ' ' ); Task_name[ 2 ] = rtems_build_name( 'T', 'A', '2', ' ' ); diff --git a/testsuites/sptests/sp16/system.h b/testsuites/sptests/sp16/system.h index 7af79541bd..139c75755d 100644 --- a/testsuites/sptests/sp16/system.h +++ b/testsuites/sptests/sp16/system.h @@ -48,6 +48,8 @@ rtems_task Task5( #define CONFIGURE_MAXIMUM_REGIONS 4 #define CONFIGURE_TICKS_PER_TIMESLICE 100 +#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/sp16/task1.c b/testsuites/sptests/sp16/task1.c index a6f9668840..2df450f653 100644 --- a/testsuites/sptests/sp16/task1.c +++ b/testsuites/sptests/sp16/task1.c @@ -291,6 +291,6 @@ rtems_test_pause(); status = rtems_region_delete( Region_id[ 4 ] ); directive_failed( status, "rtems_region_delete" ); - puts( "*** END OF TEST 16 ***" ); + TEST_END(); rtems_test_exit( 0 ); } -- cgit v1.2.3