diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-05-17 22:15:56 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-05-17 22:15:56 +0000 |
commit | d785158293bbc681a90571341668786d4f46bd81 (patch) | |
tree | 3709a5d8a08b82fcb7c9affdcf30e1d45c5f7c8d /testsuites | |
parent | Split Task Manager into multiple files. Eventually this effort will (diff) | |
download | rtems-d785158293bbc681a90571341668786d4f46bd81.tar.bz2 |
Added simple test to find minimum code size of executive with this BSP
and RTEMS configuration.
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/samples/minimum/init.c | 36 | ||||
-rw-r--r-- | testsuites/samples/minimum/minimum.doc | 13 | ||||
-rw-r--r-- | testsuites/samples/minimum/minimum.scn | 1 |
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 *** |