2009-07-02 Joel Sherrill <joel.sherrill@OARcorp.com>

* spchain/init.c, spchain/spchain.scn: Clean up test.
This commit is contained in:
Joel Sherrill
2009-07-02 15:24:37 +00:00
parent bfa4bb20d1
commit 84b7a96833
3 changed files with 8 additions and 23 deletions

View File

@@ -1,3 +1,7 @@
2009-07-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* spchain/init.c, spchain/spchain.scn: Clean up test.
2009-07-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to cover bodies of some chain

View File

@@ -52,7 +52,7 @@ rtems_task Init(
}
}
puts( "*** TEST OF RTEMS CHAIN API ***" );
puts( "*** END OF RTEMS CHAIN API TEST ***" );
rtems_test_exit(0);
}
@@ -61,27 +61,8 @@ rtems_task Init(
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
/*
* In this application, the initialization task performs the system
* initialization and then transforms itself into the idle task.
*/
#define CONFIGURE_IDLE_TASK_BODY Init
#define CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION
/*
* Another odd case to hit. Since we use the Init task is Idle task
* configuration, we can dummy up the initialization task configuration
* to have a non-NULL pointer and 0 tasks.
*/
#define CONFIGURE_HAS_OWN_INIT_TASK_TABLE 1
rtems_initialization_tasks_table Initialization_tasks[1] =
{ { 0, }};
#define CONFIGURE_INIT_TASK_TABLE Initialization_tasks
#define CONFIGURE_INIT_TASK_TABLE_SIZE 0
#define CONFIGURE_INIT_TASK_STACK_SIZE 0
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_MAXIMUM_TASKS 1
#define CONFIGURE_INIT
#include <rtems/confdefs.h>

View File

@@ -1,4 +1,4 @@
*** TEST OF RTEMS CHAIN API ***
Init - Initialize chain empty
INIT - Verify rtems_chain_insert
*** TEST OF RTEMS CHAIN API ***
*** END OF RTEMS CHAIN API TEST ***