summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp44
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/sp44
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/sp44')
-rw-r--r--testsuites/sptests/sp44/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/sp44/init.c b/testsuites/sptests/sp44/init.c
index d5562eb933..26e42830fc 100644
--- a/testsuites/sptests/sp44/init.c
+++ b/testsuites/sptests/sp44/init.c
@@ -14,6 +14,8 @@
#include <stdio.h>
#include <stdlib.h>
+const char rtems_test_name[] = "SP 44";
+
rtems_task Init(rtems_task_argument ignored);
rtems_task TaskAB_entry(rtems_task_argument me);
@@ -63,7 +65,7 @@ rtems_task TaskAB_entry(rtems_task_argument me)
turn = 1 - me;
if ( ++iterations == 10 ) {
- puts( "*** END OF SP44 TEST ***" );
+ TEST_END();
exit( 0 );
}
}
@@ -74,7 +76,7 @@ rtems_task Init(rtems_task_argument ignored)
{
static rtems_status_code status;
- puts( "\n\n*** SP44 TEST ***" );
+ TEST_BEGIN();
/* Create Task A */
status = rtems_task_create(
@@ -124,6 +126,8 @@ rtems_task Init(rtems_task_argument ignored)
#define CONFIGURE_TICKS_PER_TIMESLICE 10
#define CONFIGURE_MAXIMUM_TASKS 3
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT