summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp46
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/sp46
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/sp46')
-rw-r--r--testsuites/sptests/sp46/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/sp46/init.c b/testsuites/sptests/sp46/init.c
index 988a044025..55653e0b3a 100644
--- a/testsuites/sptests/sp46/init.c
+++ b/testsuites/sptests/sp46/init.c
@@ -14,6 +14,8 @@
#include <tmacros.h>
#include <rtems/cpuuse.h>
+const char rtems_test_name[] = "SP 46";
+
rtems_task Periodic_Task(
rtems_task_argument argument
);
@@ -66,7 +68,7 @@ rtems_task Init(
rtems_status_code status;
rtems_id task_id;
- puts( "\n\n*** TEST 46 ***" );
+ TEST_BEGIN();
/*
* Initialize Tasks
@@ -101,7 +103,7 @@ rtems_task Init(
/*
* Exit test
*/
- puts( "*** END OF TEST 46 *** " );
+ TEST_END();
rtems_test_exit( 0 );
}
@@ -118,6 +120,8 @@ rtems_task Init(
#define CONFIGURE_INIT_TASK_PRIORITY 10
#define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_DEFAULT_MODES
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE)