summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spwkspace/init.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-14 14:29:40 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-14 14:29:40 +0000
commit02ba7cac299252839e5cd165bf3c7832be88fa1b (patch)
treea75667b7f38790c506e33f06ba9680616c5daed4 /testsuites/sptests/spwkspace/init.c
parent2009-05-13 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-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/init.c')
-rw-r--r--testsuites/sptests/spwkspace/init.c19
1 files changed, 15 insertions, 4 deletions
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>