From cfde647908a03c214ea49e247be7b2decd874b8e Mon Sep 17 00:00:00 2001 From: Jennifer Averett Date: Mon, 7 Jun 2010 19:09:28 +0000 Subject: 2010-06-07 Bharath Suri PR PR1542 * Makefile.am, configure.ac: Coverage improvement: fifo_open. * spfifo01/spfifo01.doc, spfifo01/spfifo01.scn, spfifo01/test.c, spfifo02/Makefile.am, spfifo02/main.c, spfifo02/spfifo02.doc, spfifo02/spfifo02.scn, spfifo02/test.c, spfifo03/Makefile.am, spfifo03/main.c, spfifo03/spfifo03.doc, spfifo03/spfifo03.scn, spfifo03/test.c, spfifo04/Makefile.am, spfifo04/main.c, spfifo04/spfifo04.doc, spfifo04/spfifo04.scn, spfifo04/test.c: New files. --- testsuites/sptests/spfifo04/main.c | 51 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 testsuites/sptests/spfifo04/main.c (limited to 'testsuites/sptests/spfifo04/main.c') diff --git a/testsuites/sptests/spfifo04/main.c b/testsuites/sptests/spfifo04/main.c new file mode 100644 index 0000000000..8a64410f43 --- /dev/null +++ b/testsuites/sptests/spfifo04/main.c @@ -0,0 +1,51 @@ +/* Init + * + * This routine is the initialization task for this test program. + * It is a user initialization task and has the responsibility + * of invoking the test routine + * + * Input parameters: + * not_used + * + * Output parameters: NONE + * + * COPYRIGHT (c) 1989-1999. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ + +/* Includes */ +#include +#include + +void test_main(void); + +rtems_task Init( + rtems_task_argument not_used +) +{ + test_main(); + rtems_test_exit(0); +} + +#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM +#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 6 + +#define CONFIGURE_MAXIMUM_TASKS 1 + +#define CONFIGURE_RTEMS_INIT_TASKS_TABLE +#define CONFIGURE_PIPES_ENABLED +#define CONFIGURE_INIT +#define CONFIGURE_MAXIMUM_BARRIERS 2 + +#include + +/* end of file */ -- cgit v1.2.3