[Piglit] How do I run the framework tests?

Ilia Mirkin imirkin at alum.mit.edu
Wed Apr 23 18:40:26 PDT 2014


On Wed, Apr 23, 2014 at 9:35 PM, Dylan Baker <baker.dylan.c at gmail.com> 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


More information about the Piglit mailing list