From 96e4b2231274429569cda56d965bcc11d8009800 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Wed, 6 Mar 2019 20:39:29 +1100 Subject: 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. --- testsuites/psxtmtests/psxtmmutex06/init.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'testsuites/psxtmtests/psxtmmutex06') diff --git a/testsuites/psxtmtests/psxtmmutex06/init.c b/testsuites/psxtmtests/psxtmmutex06/init.c index fe22753faf..402c1cca82 100644 --- a/testsuites/psxtmtests/psxtmmutex06/init.c +++ b/testsuites/psxtmtests/psxtmmutex06/init.c @@ -7,6 +7,10 @@ * http://www.rtems.org/license/LICENSE. */ +#if !defined(OPERATION_COUNT) +#define OPERATION_COUNT 100 +#endif + #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -130,7 +134,7 @@ void *POSIX_Init( ); rtems_test_assert( status == 0 ); } - + /* * Now start the timer which will be stopped in Low */ -- cgit v1.2.3