diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-05-14 14:29:40 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-05-14 14:29:40 +0000 |
commit | 02ba7cac299252839e5cd165bf3c7832be88fa1b (patch) | |
tree | a75667b7f38790c506e33f06ba9680616c5daed4 /testsuites/sptests/spwkspace | |
parent | 2009-05-13 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-02ba7cac299252839e5cd165bf3c7832be88fa1b.tar.bz2 |
2009-05-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac, spwatchdog/system.h,
spwkspace/Makefile.am, spwkspace/init.c: Add shell of test for
printk. These will help coverage. Simplify spwkspace.
* spprintk/.cvsignore, spprintk/Makefile.am, spprintk/init.c,
spprintk/spprintk.scn: New files.
* spwkspace/system.h: Removed.
Diffstat (limited to 'testsuites/sptests/spwkspace')
-rw-r--r-- | testsuites/sptests/spwkspace/Makefile.am | 2 | ||||
-rw-r--r-- | testsuites/sptests/spwkspace/init.c | 19 | ||||
-rw-r--r-- | testsuites/sptests/spwkspace/system.h | 31 |
3 files changed, 16 insertions, 36 deletions
diff --git a/testsuites/sptests/spwkspace/Makefile.am b/testsuites/sptests/spwkspace/Makefile.am index 50ab079cd6..cf8bfdc94c 100644 --- a/testsuites/sptests/spwkspace/Makefile.am +++ b/testsuites/sptests/spwkspace/Makefile.am @@ -5,7 +5,7 @@ MANAGERS = all rtems_tests_PROGRAMS = spwkspace -spwkspace_SOURCES = init.c system.h +spwkspace_SOURCES = init.c dist_rtems_tests_DATA = spwkspace.scn diff --git a/testsuites/sptests/spwkspace/init.c b/testsuites/sptests/spwkspace/init.c index 0c4028b727..abf4946f54 100644 --- a/testsuites/sptests/spwkspace/init.c +++ b/testsuites/sptests/spwkspace/init.c @@ -1,5 +1,5 @@ /* - * Exercise SuperCore Object Get Next + * Exercise Classic API Workspace Wrappers * * COPYRIGHT (c) 1989-2009. * On-Line Applications Research Corporation (OAR). @@ -11,8 +11,8 @@ * $Id$ */ -#define CONFIGURE_INIT -#include "system.h" +#include <tmacros.h> + rtems_task Init( rtems_task_argument argument @@ -57,7 +57,18 @@ rtems_task Init( retbool = rtems_workspace_free( p1 ); assert( retbool == true ); - puts( "*** END OF TEST WORKSPACE CLASSIC API ***" ); rtems_test_exit( 0 ); } + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER + +#define CONFIGURE_RTEMS_INIT_TASKS_TABLE + +#define CONFIGURE_MAXIMUM_TASKS 1 + +#define CONFIGURE_INIT +#include <rtems/confdefs.h> diff --git a/testsuites/sptests/spwkspace/system.h b/testsuites/sptests/spwkspace/system.h deleted file mode 100644 index e595c3d9dd..0000000000 --- a/testsuites/sptests/spwkspace/system.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * COPYRIGHT (c) 1989-2009. - * 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$ - */ - -#include <tmacros.h> - -/* functions */ - -rtems_task Init( - rtems_task_argument argument -); - -/* configuration information */ - -#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER - -#define CONFIGURE_RTEMS_INIT_TASKS_TABLE - -#define CONFIGURE_MAXIMUM_TASKS 1 - -#include <rtems/confdefs.h> - -/* end of include file */ |