diff options
author | Chris Johns <chrisj@rtems.org> | 2017-10-19 16:39:16 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2017-10-23 16:25:45 +1100 |
commit | 98c6d501452f02264ff148a1b8479e420c81562d (patch) | |
tree | 8c6cd90ccd1df98f782396d94d6acdbfe5d042cb /testsuites/rhealstone | |
parent | posix: Fix POSIX disabled build (diff) | |
download | rtems-98c6d501452f02264ff148a1b8479e420c81562d.tar.bz2 |
testsuite: Use printk for all test output where possible.
- Remove the printf support leaving the direct printk support configured
with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf
call to printk.
- Control the test's single init for functions and global data with
TEST_INIT and not CONFIGURE_INIT. They are now separate.
Updates #3170.
Diffstat (limited to 'testsuites/rhealstone')
-rw-r--r-- | testsuites/rhealstone/rhdeadlockbrk/deadlockbrk.c | 2 | ||||
-rw-r--r-- | testsuites/rhealstone/rhilatency/ilatency.c | 2 | ||||
-rw-r--r-- | testsuites/rhealstone/rhmlatency/mlatency.c | 2 | ||||
-rw-r--r-- | testsuites/rhealstone/rhsemshuffle/semshuffle.c | 2 | ||||
-rw-r--r-- | testsuites/rhealstone/rhtaskpreempt/taskpreempt.c | 2 | ||||
-rw-r--r-- | testsuites/rhealstone/rhtaskswitch/taskswitch.c | 2 |
6 files changed, 12 insertions, 0 deletions
diff --git a/testsuites/rhealstone/rhdeadlockbrk/deadlockbrk.c b/testsuites/rhealstone/rhdeadlockbrk/deadlockbrk.c index a8977273c2..438bff1575 100644 --- a/testsuites/rhealstone/rhdeadlockbrk/deadlockbrk.c +++ b/testsuites/rhealstone/rhdeadlockbrk/deadlockbrk.c @@ -4,6 +4,8 @@ * This file's license is 2-clause BSD as in this distribution's LICENSE file. */ +#define TEST_INIT + #include <timesys.h> #include <rtems/btimer.h> diff --git a/testsuites/rhealstone/rhilatency/ilatency.c b/testsuites/rhealstone/rhilatency/ilatency.c index 0a7741bf28..87ca136e7a 100644 --- a/testsuites/rhealstone/rhilatency/ilatency.c +++ b/testsuites/rhealstone/rhilatency/ilatency.c @@ -13,6 +13,8 @@ #include "config.h" #endif +#define TEST_INIT + #define CONFIGURE_INIT #include <timesys.h> #include <rtems/btimer.h> diff --git a/testsuites/rhealstone/rhmlatency/mlatency.c b/testsuites/rhealstone/rhmlatency/mlatency.c index 11a29c0e2c..3682dc89a1 100644 --- a/testsuites/rhealstone/rhmlatency/mlatency.c +++ b/testsuites/rhealstone/rhmlatency/mlatency.c @@ -8,6 +8,8 @@ #include "config.h" #endif +#define TEST_INIT + #include <timesys.h> #include <rtems/btimer.h> diff --git a/testsuites/rhealstone/rhsemshuffle/semshuffle.c b/testsuites/rhealstone/rhsemshuffle/semshuffle.c index 6800926fec..6aaf38d80d 100644 --- a/testsuites/rhealstone/rhsemshuffle/semshuffle.c +++ b/testsuites/rhealstone/rhsemshuffle/semshuffle.c @@ -4,6 +4,8 @@ * This file's license is 2-clause BSD as in this distribution's LICENSE file. */ +#define TEST_INIT + #include <timesys.h> #include <rtems/btimer.h> diff --git a/testsuites/rhealstone/rhtaskpreempt/taskpreempt.c b/testsuites/rhealstone/rhtaskpreempt/taskpreempt.c index c396e742fe..0218c6d028 100644 --- a/testsuites/rhealstone/rhtaskpreempt/taskpreempt.c +++ b/testsuites/rhealstone/rhtaskpreempt/taskpreempt.c @@ -4,6 +4,8 @@ * This file's license is 2-clause BSD as in this distribution's LICENSE file. */ +#define TEST_INIT + #include <timesys.h> #include <rtems/btimer.h> diff --git a/testsuites/rhealstone/rhtaskswitch/taskswitch.c b/testsuites/rhealstone/rhtaskswitch/taskswitch.c index 520de3374a..972eed8914 100644 --- a/testsuites/rhealstone/rhtaskswitch/taskswitch.c +++ b/testsuites/rhealstone/rhtaskswitch/taskswitch.c @@ -4,6 +4,8 @@ * This file's license is 2-clause BSD as in this distribution's LICENSE file. */ +#define TEST_INIT + #include <timesys.h> #include <rtems/btimer.h> |