diff options
author | Chris Johns <chrisj@rtems.org> | 2019-03-06 20:39:29 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2019-03-07 06:33:47 +1100 |
commit | 96e4b2231274429569cda56d965bcc11d8009800 (patch) | |
tree | e2cbbb277f99ed2ac864fb63fe2aed08a28b3604 /testsuites/tmtests/tmck/task1.c | |
parent | testsuite: Add rexclude, rinclude and cflags to test config files. (diff) | |
download | rtems-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/tmtests/tmck/task1.c')
-rw-r--r-- | testsuites/tmtests/tmck/task1.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/testsuites/tmtests/tmck/task1.c b/testsuites/tmtests/tmck/task1.c index e6e9f78fab..f509e839d3 100644 --- a/testsuites/tmtests/tmck/task1.c +++ b/testsuites/tmtests/tmck/task1.c @@ -7,6 +7,9 @@ * http://www.rtems.org/license/LICENSE. */ +#if !defined(OPERATION_COUNT) +#define OPERATION_COUNT 100 +#endif #ifdef HAVE_CONFIG_H #include "config.h" @@ -15,10 +18,9 @@ #define CONFIGURE_INIT #include "system.h" +#if !defined(MAXIMUM_DISTRIBUTION) #define MAXIMUM_DISTRIBUTION 1000 - -#undef OPERATION_COUNT -#define OPERATION_COUNT 100000 +#endif const char rtems_test_name[] = "TIME CHECKER"; |