summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtmtests/psxtmbarrier04/init.c
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/psxtmtests/psxtmbarrier04/init.c
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/psxtmtests/psxtmbarrier04/init.c')
-rw-r--r--testsuites/psxtmtests/psxtmbarrier04/init.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuites/psxtmtests/psxtmbarrier04/init.c b/testsuites/psxtmtests/psxtmbarrier04/init.c
index 5d4885c193..a463d9a8d2 100644
--- a/testsuites/psxtmtests/psxtmbarrier04/init.c
+++ b/testsuites/psxtmtests/psxtmbarrier04/init.c
@@ -7,9 +7,14 @@
* http://www.rtems.org/license/LICENSE.
*/
+#if !defined(OPERATION_COUNT)
+#define OPERATION_COUNT 100
+#endif
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+
#include <tmacros.h>
#include <timesys.h>
#include "test_support.h"