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/sptests/sp47 | |
parent | eeb8d8387f7cab370adb4edd0eaccc2c82a6b5f7 (diff) |
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/sptests/sp47')
-rw-r--r-- | testsuites/sptests/sp47/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuites/sptests/sp47/init.c b/testsuites/sptests/sp47/init.c index 5d28303f19..2c2b637c38 100644 --- a/testsuites/sptests/sp47/init.c +++ b/testsuites/sptests/sp47/init.c @@ -6,6 +6,8 @@ #include "config.h" #endif +#define TEST_INIT + #include <tmacros.h> const char rtems_test_name[] = "SP 47"; |