summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-06-12 14:00:10 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-06-12 14:00:10 +0000
commit69c3370fa6ea5eafe30bd13310087431fe9600a2 (patch)
tree7d0f026d04e01c7d2a4cd697f3871b0b99585e62
parent2009-06-12 Chris Johns <chrisj@rtems.org> (diff)
downloadrtems-69c3370fa6ea5eafe30bd13310087431fe9600a2.tar.bz2
2009-06-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp02/sp02.doc, sp02/system.h: Add test case for configuring the IDLE
-rw-r--r--testsuites/sptests/ChangeLog4
-rw-r--r--testsuites/sptests/sp02/sp02.doc3
-rw-r--r--testsuites/sptests/sp02/system.h6
3 files changed, 13 insertions, 0 deletions
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 <joel.sherrill@OARcorp.com>
+
+ * sp02/sp02.doc, sp02/system.h: Add test case for configuring the IDLE
+
2009-06-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* 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 <rtems/confdefs.h>
/* global variables */