summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-02-02 19:02:06 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-02-02 19:02:06 +0000
commit28ab68ae6f8d556604debcd94bf7853deafb350d (patch)
treef40f5f9a3a6768d2888578fbb879b7a10e7d562e /testsuites/sptests
parent2011-02-02 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-28ab68ae6f8d556604debcd94bf7853deafb350d.tar.bz2
2011-02-02 Joel Sherrill <joel.sherrilL@OARcorp.com>
* sp04/tswitch.c: Shrink memory requirements.
Diffstat (limited to 'testsuites/sptests')
-rw-r--r--testsuites/sptests/ChangeLog4
-rw-r--r--testsuites/sptests/sp04/tswitch.c11
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;