summaryrefslogtreecommitdiffstats
path: root/testsuites/samples
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-05-17 22:15:56 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-05-17 22:15:56 +0000
commitd785158293bbc681a90571341668786d4f46bd81 (patch)
tree3709a5d8a08b82fcb7c9affdcf30e1d45c5f7c8d /testsuites/samples
parentc4d69e21a751d4c907db9e8f4bb9bd38693075b1 (diff)
downloadrtems-d785158293bbc681a90571341668786d4f46bd81.tar.bz2
Added simple test to find minimum code size of executive with this BSP
and RTEMS configuration.
Diffstat (limited to 'testsuites/samples')
-rw-r--r--testsuites/samples/minimum/init.c36
-rw-r--r--testsuites/samples/minimum/minimum.doc13
-rw-r--r--testsuites/samples/minimum/minimum.scn1
3 files changed, 50 insertions, 0 deletions
diff --git a/testsuites/samples/minimum/init.c b/testsuites/samples/minimum/init.c
new file mode 100644
index 0000000000..7474b4a1c2
--- /dev/null
+++ b/testsuites/samples/minimum/init.c
@@ -0,0 +1,36 @@
+/* Init
+ *
+ *
+ * Input parameters: NONE
+ *
+ * Output parameters: NONE
+ *
+ * COPYRIGHT (c) 1989-1998.
+ * On-Line Applications Research Corporation (OAR).
+ * Copyright assigned to U.S. Government, 1994.
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
+ */
+
+#include <rtems.h>
+
+rtems_task Init(
+ rtems_task_argument ignored
+)
+{
+}
+
+/* configuration information */
+
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
+#define CONFIGURE_INIT
+
+#include <confdefs.h>
+
+/* global variables */
+
diff --git a/testsuites/samples/minimum/minimum.doc b/testsuites/samples/minimum/minimum.doc
new file mode 100644
index 0000000000..496f3569e5
--- /dev/null
+++ b/testsuites/samples/minimum/minimum.doc
@@ -0,0 +1,13 @@
+#
+# $Id$
+#
+# COPYRIGHT (c) 1989-1998.
+# On-Line Applications Research Corporation (OAR).
+# Copyright assigned to U.S. Government, 1994.
+#
+# The license and distribution terms for this file may be
+# found in the file LICENSE in this distribution or at
+# http://www.OARcorp.com/rtems/license.html.
+#
+
+
diff --git a/testsuites/samples/minimum/minimum.scn b/testsuites/samples/minimum/minimum.scn
new file mode 100644
index 0000000000..610f3d4ddd
--- /dev/null
+++ b/testsuites/samples/minimum/minimum.scn
@@ -0,0 +1 @@
+*** TEST SHOULD NOT BE RUN ***