summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp76
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/sp76
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/sp76')
-rw-r--r--testsuites/sptests/sp76/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/sp76/init.c b/testsuites/sptests/sp76/init.c
index 5dd91c52d7..f65736463d 100644
--- a/testsuites/sptests/sp76/init.c
+++ b/testsuites/sptests/sp76/init.c
@@ -13,6 +13,8 @@
#include <tmacros.h>
+const char rtems_test_name[] = "SP 76";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
rtems_task Test_task(rtems_task_argument index);
@@ -30,7 +32,7 @@ rtems_task Test_task(
put_name( name, FALSE );
puts( " - Successfully yielded it to higher priority task" );
- puts( "*** END OF SP76 TEST ***" );
+ TEST_END();
rtems_test_exit( 0 );
}
@@ -42,7 +44,7 @@ rtems_task Init(
rtems_id id;
rtems_task_priority old;
- puts( "\n\n*** SP76 (YIELD) TEST ***" );
+ TEST_BEGIN();
status = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &id );
directive_failed( status, "task ident" );
@@ -96,6 +98,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_TASKS 3
#define CONFIGURE_INIT_TASK_PRIORITY 2
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT