diff options
Diffstat (limited to 'testsuites/sptests')
-rw-r--r-- | testsuites/sptests/ChangeLog | 4 | ||||
-rw-r--r-- | testsuites/sptests/sp04/tswitch.c | 11 |
2 files changed, 9 insertions, 6 deletions
diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog index 22c09f36c3..57012cd215 100644 --- a/testsuites/sptests/ChangeLog +++ b/testsuites/sptests/ChangeLog @@ -1,3 +1,7 @@ +2011-02-02 Joel Sherrill <joel.sherrilL@OARcorp.com> + + * sp04/tswitch.c: Shrink memory requirements. + 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org> * configure.ac: Require autoconf-2.68, automake-1.11.1. diff --git a/testsuites/sptests/sp04/tswitch.c b/testsuites/sptests/sp04/tswitch.c index a622e6126c..5c22016a0b 100644 --- a/testsuites/sptests/sp04/tswitch.c +++ b/testsuites/sptests/sp04/tswitch.c @@ -10,7 +10,7 @@ * * Output parameters: NONE * - * COPYRIGHT (c) 1989-2009. + * COPYRIGHT (c) 1989-2011. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -22,11 +22,10 @@ #include "system.h" -#if BSP_SMALL_MEMORY -struct taskSwitchLog taskSwitchLog[100]; -#else -struct taskSwitchLog taskSwitchLog[1000]; -#endif +/* + * Only require 10 task switches on sis/gdb. --joel 2 Feb 2011 + */ +struct taskSwitchLog taskSwitchLog[25]; unsigned int taskSwitchLogIndex; volatile int testsFinished; |