From d785158293bbc681a90571341668786d4f46bd81 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 17 May 1999 22:15:56 +0000 Subject: Added simple test to find minimum code size of executive with this BSP and RTEMS configuration. --- testsuites/samples/minimum/init.c | 36 ++++++++++++++++++++++++++++++++++ testsuites/samples/minimum/minimum.doc | 13 ++++++++++++ testsuites/samples/minimum/minimum.scn | 1 + 3 files changed, 50 insertions(+) create mode 100644 testsuites/samples/minimum/init.c create mode 100644 testsuites/samples/minimum/minimum.doc create mode 100644 testsuites/samples/minimum/minimum.scn (limited to 'testsuites/samples') 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_task Init( + rtems_task_argument ignored +) +{ +} + +/* configuration information */ + +#define CONFIGURE_RTEMS_INIT_TASKS_TABLE + +#define CONFIGURE_INIT + +#include + +/* 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 *** -- cgit v1.2.3