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.
This commit is contained in:
Chris Johns
2017-10-23 16:25:45 +11:00
parent eeb8d8387f
commit 98c6d50145
555 changed files with 1349 additions and 342 deletions
+2
View File
@@ -16,6 +16,8 @@
#include "config.h"
#endif
#define TEST_INIT
#include "tmacros.h"
const char rtems_test_name[] = "DHRYSTONE";
+2
View File
@@ -16,6 +16,8 @@
#include "config.h"
#endif
#define TEST_INIT
#include "tmacros.h"
const char rtems_test_name[] = "LINPACK";
+2
View File
@@ -16,6 +16,8 @@
#include "config.h"
#endif
#define TEST_INIT
#include "tmacros.h"
const char rtems_test_name[] = "WHETSTONE";