[Intel-gfx] [PATCH i-g-t 1/5] lib: print recent log output if a test fails
Chris Wilson
chris at chris-wilson.co.uk
Wed Dec 17 09:56:53 PST 2014
On Wed, Dec 17, 2014 at 04:45:43PM +0000, Thomas Wood wrote:
> Print recent log entries if a test or subtest fails and the current log
> level is set to info.
>
> v2: Write log to stderr after test or subtest failure and make log
> buffering thread safe.
More of a general style bikeshed:
Would log_write(), __log_write_msg(), __log_write_char(), log_clear() be
better, for they all operate on the implicit log_buffer.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list