[Piglit] Replace dmesg functions in exectest with dmesg class

Dylan Baker baker.dylan.c at gmail.com
Fri Jan 31 17:03:41 PST 2014


On Friday, January 31, 2014 05:02:06 PM Dylan Baker wrote:
> This series introduces a new module with a different approach for
> working with dmesg, and 21 tests for that class.
> 
> There are several advantages to this approach as a whole:
> 1) It isolates the dmesg code better. A single module containing all of
>    the dmesg logic, and only two calls needed outside of the module make
>    it easy to use, and far less invasive
> 2) It eliminates the need for lots of if checks. By providing a dummy
>    version of the same class when checking dmesg isn't requested or
>    appropriate there is no need to constantly check if the run is
>    checking dmesg.

I forgot to mention this is available for git pull:
https://github.com/dcbaker/piglit.git dmesg-v2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20140131/c6e281fa/attachment.pgp>


More information about the Piglit mailing list