[Piglit] How do I run the framework tests?

Ilia Mirkin imirkin at alum.mit.edu
Wed Apr 23 09:50:18 PDT 2014


On Wed, Apr 23, 2014 at 10:26 AM, Ilia Mirkin <imirkin at alum.mit.edu> 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)

Errrrr make that

nosetests -e dmesg framework/tests

There's one failure at HEAD for me:

FAIL: If glean doesn't return zero it should be a fail
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/ilia/src/piglit/framework/tests/gleantest_tests.py",
line 71, in test_bad_returncode
    assert test.result['result'] == 'fail', "Result should have been fail"
AssertionError: Result should have been fail

>
> On Wed, Apr 23, 2014 at 10:16 AM, Tom Stellard <tom at stellard.net> wrote:
>> Hi,
>>
>> I just pushed 6e5b8c40a1a973fa430e4b635c28541f4fb5458c
>> which fixes a regression in the gtest class and I would
>> like to write a test for it, but I'm not sure how to run
>> the framework tests.  Could someone explain how to do this?
>>
>> Thanks,
>> Tom
>> _______________________________________________
>> Piglit mailing list
>> Piglit at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/piglit


More information about the Piglit mailing list