summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp04
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2009-05-18 23:49:15 +0000
committerChris Johns <chrisj@rtems.org>2009-05-18 23:49:15 +0000
commita1c219b8fdfa32c7db8c37aad9714f4f42fa6695 (patch)
tree6c0ce67fb05e0473ec2145837103437950351762 /testsuites/sptests/sp04
parent2009-05-18 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-a1c219b8fdfa32c7db8c37aad9714f4f42fa6695.tar.bz2
2009-05-19 Chris Johns <chrisj@rtems.org>
* sp04/tswitch.c: Lower sample count for small memory targets.
Diffstat (limited to 'testsuites/sptests/sp04')
-rw-r--r--testsuites/sptests/sp04/tswitch.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuites/sptests/sp04/tswitch.c b/testsuites/sptests/sp04/tswitch.c
index bb0cfc7513..9323dda9a9 100644
--- a/testsuites/sptests/sp04/tswitch.c
+++ b/testsuites/sptests/sp04/tswitch.c
@@ -22,7 +22,11 @@
#include "system.h"
+#if BSP_SMALL_MEMORY
+struct taskSwitchLog taskSwitchLog[100];
+#else
struct taskSwitchLog taskSwitchLog[1000];
+#endif
unsigned int taskSwitchLogIndex;
volatile int testsFinished;