summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp05
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/sp05
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/sp05')
-rw-r--r--testsuites/sptests/sp05/init.c4
-rw-r--r--testsuites/sptests/sp05/system.h2
-rw-r--r--testsuites/sptests/sp05/task1.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/sp05/init.c b/testsuites/sptests/sp05/init.c
index 0eced9cb1c..7d95ee9775 100644
--- a/testsuites/sptests/sp05/init.c
+++ b/testsuites/sptests/sp05/init.c
@@ -26,13 +26,15 @@
#define CONFIGURE_INIT
#include "system.h"
+const char rtems_test_name[] = "SP 5";
+
rtems_task Init(
rtems_task_argument argument
)
{
rtems_status_code status;
- puts( "\n\n*** TEST 5 ***" );
+ 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/sp05/system.h b/testsuites/sptests/sp05/system.h
index 20f5a899fa..40491af3f8 100644
--- a/testsuites/sptests/sp05/system.h
+++ b/testsuites/sptests/sp05/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/sp05/task1.c b/testsuites/sptests/sp05/task1.c
index 1b36c01fdb..b529768c7e 100644
--- a/testsuites/sptests/sp05/task1.c
+++ b/testsuites/sptests/sp05/task1.c
@@ -74,6 +74,6 @@ rtems_task Task_1(
directive_failed( status, "rtems_task_resume" );
}
- puts( "*** END OF TEST 5 ***" );
+ TEST_END();
rtems_test_exit( 0 );
}