summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spfreechain01
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/spfreechain01
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/spfreechain01')
-rw-r--r--testsuites/sptests/spfreechain01/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/spfreechain01/init.c b/testsuites/sptests/spfreechain01/init.c
index d51ce89f9c..434c126f7d 100644
--- a/testsuites/sptests/spfreechain01/init.c
+++ b/testsuites/sptests/spfreechain01/init.c
@@ -16,6 +16,8 @@
#include <rtems/score/wkspace.h>
#include <rtems/malloc.h>
+const char rtems_test_name[] = "SPFREECHAIN 1";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
bool my_freechain_extend_with_nothing( Freechain_Control *freechain );
@@ -120,7 +122,7 @@ rtems_task Init(
rtems_task_argument ignored
)
{
- puts( "*** START OF RTEMS FREECHAIN API TEST ***" );
+ TEST_BEGIN();
test_node *test_node_p;
MyFreechain myfc;
@@ -177,7 +179,7 @@ rtems_task Init(
}
}
- puts( "*** END OF RTEMS FREECHAIN API TEST ***" );
+ TEST_END();
rtems_test_exit(0);
}
@@ -187,6 +189,8 @@ rtems_task Init(
#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
#define CONFIGURE_MEMORY_OVERHEAD sizeof(test_node)
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_MAXIMUM_TASKS 1