summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spfifo03/init.c
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/spfifo03/init.c
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/spfifo03/init.c')
-rw-r--r--testsuites/sptests/spfifo03/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/spfifo03/init.c b/testsuites/sptests/spfifo03/init.c
index 8499b34fe8..72e9f62272 100644
--- a/testsuites/sptests/spfifo03/init.c
+++ b/testsuites/sptests/spfifo03/init.c
@@ -23,6 +23,8 @@
#include <rtems.h>
#include <rtems/libio.h>
+const char rtems_test_name[] = "SPFIFO 3";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
rtems_task read_task(rtems_task_argument not_used);
@@ -112,7 +114,7 @@ void test_main(void) /* Also acts as the write task */
rtems_test_assert( status == RTEMS_SUCCESSFUL );
- puts("\n\n*** FIFO / PIPE OPEN TEST - 6 ***");
+ TEST_BEGIN();
puts("\nCreating a task name and a task");
readTaskName = rtems_build_name('T','A','r',' ');
@@ -189,7 +191,7 @@ void test_main(void) /* Also acts as the write task */
status = rmdir("/tmp");
rtems_test_assert(status == 0);
- puts("\n*** END OF FIFO / PIPE OPEN TEST - 6 ***");
+ TEST_END();
}
rtems_task Init(
@@ -208,6 +210,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_TASKS 3
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_MAXIMUM_BARRIERS 1