summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp16
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/sp16
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/sp16')
-rw-r--r--testsuites/sptests/sp16/init.c4
-rw-r--r--testsuites/sptests/sp16/system.h2
-rw-r--r--testsuites/sptests/sp16/task1.c2
3 files changed, 6 insertions, 2 deletions
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 );
}