[Piglit] RFC enhance dmesg handling in piglit

Marek Olšák maraeo at gmail.com
Tue Nov 12 10:38:00 PST 2013


Hi Dylan,

I'd like to keep the "dmesg-warn" and "dmesg-fail" statuses. I use
them to distinguish between failures caused by VM protection faults or
lockups and failures reported by piglit tests.

Marek

On Tue, Nov 12, 2013 at 4:53 PM, Dylan Baker <baker.dylan.c at gmail.com> wrote:
> This series cleans up the dmesg handlingin piglit by implementing a
> module with two classes, one for reading dmesg, and the other that acts
> as a dummy class on non-posix systems, this allows dmesg to just always
> be turned on all the time.
>
> Secondly this new dmesg class has the ability to filter dmesg entries,
> searching for specific regular expressions and classifying them as
> either 'warns' or 'fails'.
>
> Currently the filtering is fairly simply, and I expect to have at least
> one more iteration of these patches with more enries for dmesg. It
> curretly as an example marks any test the segfaults as a 'warn', and
> searches for some entries emmitted by the i915 driver and marks them
> 'fail'.
>


More information about the Piglit mailing list