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-19 16:39:16 +11:00
parent eeb8d8387f
commit 98c6d50145
555 changed files with 1349 additions and 342 deletions

View File

@@ -13,6 +13,8 @@
#include "config.h"
#endif
#define TEST_INIT
#include "system.h"
#include <stdio.h>
#include <stdlib.h>