summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp06
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/sp06
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/sp06')
-rw-r--r--testsuites/sptests/sp06/init.c4
-rw-r--r--testsuites/sptests/sp06/system.h2
-rw-r--r--testsuites/sptests/sp06/task1.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/sp06/init.c b/testsuites/sptests/sp06/init.c
index b9006ffe61..e8379ae8f9 100644
--- a/testsuites/sptests/sp06/init.c
+++ b/testsuites/sptests/sp06/init.c
@@ -26,6 +26,8 @@
#define CONFIGURE_INIT
#include "system.h"
+const char rtems_test_name[] = "SP 6";
+
rtems_task Init(
rtems_task_argument argument
)
@@ -33,7 +35,7 @@ rtems_task Init(
rtems_status_code status;
rtems_task_priority previous_priority;
- puts( "\n\n*** TEST 6 ***" );
+ 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/sp06/system.h b/testsuites/sptests/sp06/system.h
index 1bf54ca8e8..7590d08473 100644
--- a/testsuites/sptests/sp06/system.h
+++ b/testsuites/sptests/sp06/system.h
@@ -38,6 +38,8 @@ rtems_task Task_3(
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_MAXIMUM_TASKS 4
diff --git a/testsuites/sptests/sp06/task1.c b/testsuites/sptests/sp06/task1.c
index e482e6983f..cc66000c45 100644
--- a/testsuites/sptests/sp06/task1.c
+++ b/testsuites/sptests/sp06/task1.c
@@ -34,7 +34,7 @@ rtems_task Task_1(
pass = argument + 1;
if ( pass == 5 ) {
- puts( "*** END OF TEST 6 ***" );
+ TEST_END();
rtems_test_exit( 0 );
}