diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:21 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:21 +0100 |
commit | 6c0301daad418d362f71eaa7e5c4b6a2d948fc50 (patch) | |
tree | d08b9e09d3c69ca35f96c9f1eeff8eb244df92ed /testsuites/sptests/spfifo05/init.c | |
parent | tests/psxtests: Use <rtems/test.h> (diff) | |
download | rtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2 |
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/spfifo05/init.c')
-rw-r--r-- | testsuites/sptests/spfifo05/init.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/spfifo05/init.c b/testsuites/sptests/spfifo05/init.c index c3c1ed76b5..9f369e0aea 100644 --- a/testsuites/sptests/spfifo05/init.c +++ b/testsuites/sptests/spfifo05/init.c @@ -24,6 +24,8 @@ #include <rtems.h> #include <rtems/libio.h> +const char rtems_test_name[] = "SPFIFO 5"; + /* forward declarations to avoid warnings */ rtems_task Init(rtems_task_argument argument); rtems_task read_task(rtems_task_argument not_used); @@ -134,7 +136,7 @@ rtems_task Init( uint32_t released = 0; int flag = 1; - puts("\n*** FIFO / PIPE TESTS - 5 ***"); + TEST_BEGIN(); memset( sendBuf, '1', SEND_RCV_BUFSIZ - 30 ); memset( sendBuf, '2', 29 ); @@ -251,7 +253,7 @@ rtems_task Init( status = unlink("/fifo"); rtems_test_assert(status == 0); - puts("*** END OF FIFO / PIPE OPEN TEST - 6 ***"); + TEST_END(); rtems_test_exit(0); } @@ -263,6 +265,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 2 |