summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spfifo02/main.c
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>2010-06-07 19:09:28 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>2010-06-07 19:09:28 +0000
commitcfde647908a03c214ea49e247be7b2decd874b8e (patch)
tree63ae6ea30f8bb59e95392b9d79a172a2265c4cc1 /testsuites/sptests/spfifo02/main.c
parent2010-06-07 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-cfde647908a03c214ea49e247be7b2decd874b8e.tar.bz2
2010-06-07 Bharath Suri <bharath.s.jois@gmail.com>
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.
Diffstat (limited to 'testsuites/sptests/spfifo02/main.c')
-rw-r--r--testsuites/sptests/spfifo02/main.c50
1 files changed, 50 insertions, 0 deletions
diff --git a/testsuites/sptests/spfifo02/main.c b/testsuites/sptests/spfifo02/main.c
new file mode 100644
index 0000000000..2ffacaf41f
--- /dev/null
+++ b/testsuites/sptests/spfifo02/main.c
@@ -0,0 +1,50 @@
+/* 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 <bsp.h>
+#include <tmacros.h>
+
+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
+
+#include <rtems/confdefs.h>
+
+/* end of file */