On Wednesday, April 23, 2014 09:40:26 PM Ilia Mirkin wrote: > On Wed, Apr 23, 2014 at 9:35 PM, Dylan Baker <[email protected]> wrote: > > On Wednesday, April 23, 2014 05:14:59 PM Daniel Vetter wrote: > >> On Wed, Apr 23, 2014 at 10:26:17AM -0400, Ilia Mirkin wrote: > >> > ~/src/piglit $ nosetests -e dmesg framework > >> > EEEE................................................................... > >> > ... > >> > ....................................................................... > >> > ... > >> > .............................. > >> > > >> > (hm, looks like some arg count mismatches in add_glsl_parser_test and > >> > a few others, haven't investigated why) > >> > >> Can we have a tiny wrapper for lazy people to run all the framework > >> tests? > >> Maybe as part of the make check/make distcheck targets as it's done > >> commonly for autohell projects? > >> -Daniel > > > > ``nosetests framework/tests`` will run all of tests. > > Including the dmesg test which (a) assumes you have sudo set up on > your machine, and (b) you want to trash your dmesg. Definitely > shouldn't be in the default thing. (I don't use sudo, nor do I want to > trash my dmesg for running that test.) And it's interactive too (as a > result of the sudo call). I highly recommend "-e dmesg" :) > > -ilia
Also, if you don't have sudo setup it should return skip for that test. But i'm not sure that I ever tested it, since I never have a root acount and only use sudo.
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
