summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spstkalloc
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/spstkalloc
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/spstkalloc')
-rw-r--r--testsuites/sptests/spstkalloc/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/spstkalloc/init.c b/testsuites/sptests/spstkalloc/init.c
index 5eef9be21c..4a26fdb9a6 100644
--- a/testsuites/sptests/spstkalloc/init.c
+++ b/testsuites/sptests/spstkalloc/init.c
@@ -13,6 +13,8 @@
#include <tmacros.h>
+const char rtems_test_name[] = "SPSTKALLOC";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
@@ -46,7 +48,7 @@ rtems_task Init(
rtems_id taskId;
rtems_id taskId1;
- puts( "\n\n*** TEST OF STACK ALLOCATOR PLUGIN ***" );
+ TEST_BEGIN();
puts( "Init - create task TA1 to use custom stack allocator - OK" );
rc = rtems_task_create(
@@ -74,7 +76,7 @@ rtems_task Init(
rc = rtems_task_delete( taskId );
directive_failed( rc, "rtems_task_delete of TA1" );
- puts( "*** END OF OF STACK ALLOCATOR PLUGIN TEST ***" );
+ TEST_END();
rtems_test_exit(0);
}
@@ -86,6 +88,8 @@ rtems_task Init(
#define CONFIGURE_TASK_STACK_ALLOCATOR StackAllocator
#define CONFIGURE_TASK_STACK_DEALLOCATOR StackDeallocator
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_MAXIMUM_TASKS 3