diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog index 0d6a3a955b..8b52e5f1ca 100644 --- a/testsuites/sptests/ChangeLog +++ b/testsuites/sptests/ChangeLog @@ -1,3 +1,7 @@ +2009-06-12 Joel Sherrill + + * sp02/sp02.doc, sp02/system.h: Add test case for configuring the IDLE + 2009-06-10 Joel Sherrill * Makefile.am, configure.ac: Add new test. diff --git a/testsuites/sptests/sp02/sp02.doc b/testsuites/sptests/sp02/sp02.doc index 20c9486a9f..0bba1ab311 100644 --- a/testsuites/sptests/sp02/sp02.doc +++ b/testsuites/sptests/sp02/sp02.doc @@ -34,3 +34,6 @@ concepts: f. Verifies the break statement in the _Block_activate routine. g. Verifies the while loop in the _Prev_tcb routine. + + h. Verify behavior when the IDLE task's stack is configured for + less than the minimum stack size. diff --git a/testsuites/sptests/sp02/system.h b/testsuites/sptests/sp02/system.h index 20faba6984..42a54ae9c3 100644 --- a/testsuites/sptests/sp02/system.h +++ b/testsuites/sptests/sp02/system.h @@ -45,6 +45,12 @@ rtems_task Task_3( #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_MAXIMUM_TASKS 4 +/* + * Deliberately configure the IDLE Task's stack as greater than minimum + * so it will have to be increased. + */ +#define CONFIGURE_IDLE_TASK_STACK_SIZE (2 * RTEMS_MINIMUM_STACK_SIZE) + #include /* global variables */