[Intel-gfx] [PATCH] igt_core: Inject subtest message into dmesg

2014-07-24 Thread Chris Wilson
One of the side-effects we test for are kernel oops and knowing the guilty subtest can help speed up debugging. We can write to /dev/kmsg to inject messages into dmesg, so let's do so before the start of every test. Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk --- lib/igt_core.c | 29

Re: [Intel-gfx] [PATCH] igt_core: Inject subtest message into dmesg

2014-07-24 Thread Daniel Vetter
On Thu, Jul 24, 2014 at 12:48:33PM +0100, Chris Wilson wrote: One of the side-effects we test for are kernel oops and knowing the guilty subtest can help speed up debugging. We can write to /dev/kmsg to inject messages into dmesg, so let's do so before the start of every test.

Re: [Intel-gfx] [PATCH] igt_core: Inject subtest message into dmesg

2014-07-24 Thread Thomas Wood
On 24 July 2014 13:36, Daniel Vetter dan...@ffwll.ch wrote: On Thu, Jul 24, 2014 at 12:48:33PM +0100, Chris Wilson wrote: One of the side-effects we test for are kernel oops and knowing the guilty subtest can help speed up debugging. We can write to /dev/kmsg to inject messages into dmesg, so

Re: [Intel-gfx] [PATCH] igt_core: Inject subtest message into dmesg

2014-07-24 Thread Chris Wilson
On Thu, Jul 24, 2014 at 02:03:01PM +0100, Thomas Wood wrote: On 24 July 2014 13:36, Daniel Vetter dan...@ffwll.ch wrote: On Thu, Jul 24, 2014 at 12:48:33PM +0100, Chris Wilson wrote: One of the side-effects we test for are kernel oops and knowing the guilty subtest can help speed up

Re: [Intel-gfx] [PATCH] igt_core: Inject subtest message into dmesg

2014-07-24 Thread Daniel Vetter
On Thu, Jul 24, 2014 at 02:58:08PM +0100, Chris Wilson wrote: On Thu, Jul 24, 2014 at 02:03:01PM +0100, Thomas Wood wrote: On 24 July 2014 13:36, Daniel Vetter dan...@ffwll.ch wrote: On Thu, Jul 24, 2014 at 12:48:33PM +0100, Chris Wilson wrote: One of the side-effects we test for are