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/psxtests/include/pmacros.h | 1 - 1 file changed, 1 deletion(-) (limited to 'testsuites/psxtests/include') diff --git a/testsuites/psxtests/include/pmacros.h b/testsuites/psxtests/include/pmacros.h index be1b8b7567..76e30f5392 100644 --- a/testsuites/psxtests/include/pmacros.h +++ b/testsuites/psxtests/include/pmacros.h @@ -86,7 +86,6 @@ (void) ctime_r( &_tv.tv_sec, _time_buffer ); \ _time_buffer[ strlen( _time_buffer ) - 1 ] = 0; \ printf( "%s%s%s\n", s1, _time_buffer, s2 ); \ - fflush(stdout); \ } while ( 0 ) #define empty_line() puts( "" ) -- cgit v1.2.3