From 98c6d501452f02264ff148a1b8479e420c81562d Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Thu, 19 Oct 2017 16:39:16 +1100 Subject: 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. --- testsuites/rhealstone/rhtaskpreempt/taskpreempt.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testsuites/rhealstone/rhtaskpreempt/taskpreempt.c') 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 #include -- cgit v1.2.3