summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-06-08 00:31:53 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-06-08 00:31:53 +0000
commit4d39a9015e9636774b2ee8fecc87cdfed75fa086 (patch)
tree4a7ca0e73191afca2f855c90ad4684f4b07bd681 /testsuites
parent2010-06-07 Bharath Suri <bharath.s.jois@gmail.com> (diff)
downloadrtems-4d39a9015e9636774b2ee8fecc87cdfed75fa086.tar.bz2
2010-06-07 Bharath Suri <bharath.s.jois@gmail.com>
* spfifo01/main.c: New file.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/sptests/ChangeLog4
-rw-r--r--testsuites/sptests/spfifo01/main.c40
2 files changed, 44 insertions, 0 deletions
diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog
index c4115b7d14..adcea3cac1 100644
--- a/testsuites/sptests/ChangeLog
+++ b/testsuites/sptests/ChangeLog
@@ -1,5 +1,9 @@
2010-06-07 Bharath Suri <bharath.s.jois@gmail.com>
+ * spfifo01/main.c: New file.
+
+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,
diff --git a/testsuites/sptests/spfifo01/main.c b/testsuites/sptests/spfifo01/main.c
new file mode 100644
index 0000000000..98863e4edc
--- /dev/null
+++ b/testsuites/sptests/spfifo01/main.c
@@ -0,0 +1,40 @@
+/*
+ * COPYRIGHT (c) 1989-2010.
+ * 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_INIT
+
+#include <rtems/confdefs.h>
+
+/* end of file */