mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-27 18:05:11 +08:00
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:
@@ -16,6 +16,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define TEST_INIT
|
||||
|
||||
#include "tmacros.h"
|
||||
|
||||
const char rtems_test_name[] = "DHRYSTONE";
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define TEST_INIT
|
||||
|
||||
#include "tmacros.h"
|
||||
|
||||
const char rtems_test_name[] = "LINPACK";
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define TEST_INIT
|
||||
|
||||
#include "tmacros.h"
|
||||
|
||||
const char rtems_test_name[] = "WHETSTONE";
|
||||
|
||||
Reference in New Issue
Block a user