summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spfifo02
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/spfifo02
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/spfifo02')
-rw-r--r--testsuites/sptests/spfifo02/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/spfifo02/init.c b/testsuites/sptests/spfifo02/init.c
index aa1f66753a..b08443ab56 100644
--- a/testsuites/sptests/spfifo02/init.c
+++ b/testsuites/sptests/spfifo02/init.c
@@ -21,6 +21,8 @@
#include <errno.h>
#include <rtems/libcsupport.h>
+const char rtems_test_name[] = "SPFIFO 2";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
void create_all_barriers(void);
@@ -142,7 +144,7 @@ rtems_task Init(
int num_opens = 0;
int index = 0;
- puts( "\n\n*** TEST FIFO 02 ***" );
+ TEST_BEGIN();
puts( "Creating all barriers" );
create_all_barriers();
@@ -196,7 +198,7 @@ rtems_task Init(
++index;
} while ( index < NUM_OPEN_REQ - num_opens );
- puts( "*** END OF TEST FIFO 08 ***" );
+ TEST_END();
rtems_test_exit(0);
}
@@ -207,6 +209,8 @@ rtems_task Init(
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_MAXIMUM_TASKS 1
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM