summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2019-03-06 20:39:29 +1100
committerChris Johns <chrisj@rtems.org>2019-03-07 06:33:47 +1100
commit96e4b2231274429569cda56d965bcc11d8009800 (patch)
treee2cbbb277f99ed2ac864fb63fe2aed08a28b3604 /testsuites/sptests
parenttestsuite: Add rexclude, rinclude and cflags to test config files. (diff)
downloadrtems-96e4b2231274429569cda56d965bcc11d8009800.tar.bz2
testsuite: Make the OPERATION_COUNT a test configuration parameter.
- Add a small memory test config file. - Update the small memory PowerPC BSPs to use the new test config.
Diffstat (limited to 'testsuites/sptests')
-rw-r--r--testsuites/sptests/sp71/init.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/sptests/sp71/init.c b/testsuites/sptests/sp71/init.c
index 7e6a7e591f..cc85f8fdc6 100644
--- a/testsuites/sptests/sp71/init.c
+++ b/testsuites/sptests/sp71/init.c
@@ -7,6 +7,10 @@
* http://www.rtems.org/license/LICENSE.
*/
+#if !defined(PER_ALLOCATION)
+#define PER_ALLOCATION 8000
+#endif
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@@ -16,8 +20,6 @@
const char rtems_test_name[] = "SP 71";
-#define PER_ALLOCATION 8000
-
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);