core: Inject subtest message into dmesg
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 24 Jul 2014 11:46:00 +0000 (12:46 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 24 Jul 2014 13:54:30 +0000 (14:54 +0100)
commit52915fc88a3948eab9e6f243b81285420897ab95
tree604833de8cb2ad5b32f1d76f61e59adce054dc6c
parent66e46630f8ba04060d73e18e46a956bf25201fc4
core: Inject subtest message into dmesg

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 <chris@chris-wilson.co.uk>
lib/igt_core.c