summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp21
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/sp21
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/sp21')
-rw-r--r--testsuites/sptests/sp21/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/sp21/init.c b/testsuites/sptests/sp21/init.c
index f7d9bc4be4..62a48b81ae 100644
--- a/testsuites/sptests/sp21/init.c
+++ b/testsuites/sptests/sp21/init.c
@@ -16,6 +16,8 @@
#include <rtems/devzero.h>
#include <rtems/libio.h>
+const char rtems_test_name[] = "SP 21";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
void do_test_io_manager(void);
@@ -253,7 +255,7 @@ rtems_task Init(
rtems_task_argument argument
)
{
- puts( "\n\n*** TEST 21 ***" );
+ TEST_BEGIN();
do_test_io_manager();
@@ -261,7 +263,7 @@ rtems_task Init(
do_test_zero_driver();
- puts( "*** END OF TEST 21 ***" );
+ TEST_END();
rtems_test_exit( 0 );
}
@@ -274,6 +276,8 @@ rtems_task Init(
#define CONFIGURE_APPLICATION_NEEDS_NULL_DRIVER
#define CONFIGURE_MAXIMUM_TASKS 1
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT