[Piglit] failed assertion in json_.py

Ilia Mirkin imirkin at alum.mit.edu
Tue Nov 4 09:37:14 PST 2014


On Mon, Nov 3, 2014 at 8:19 PM, Dylan Baker <baker.dylan.c at gmail.com> wrote:
> On Monday, November 03, 2014 05:09:24 PM Brian Paul wrote:
>> I'm not sure when this started (haven't bisected it yet).  But when I
>> run a test like this I'm getting an assertion:
>>
>> $ ./piglit-run.py -v -t ext_transform_feedback tests/all.tests results/xfb
>>
>> [0/0]  Running Test(s): 0
>> Traceback (most recent call last):
>>    File "./piglit-run.py", line 32, in <module>
>>      run(sys.argv[1:])
>>    File "/home/brian/projects/piglit/framework/programs/run.py", line
>> 287, in run
>>      backend.finalize({'time_elapsed': results.time_elapsed})
>>    File "/home/brian/projects/piglit/framework/backends/json_.py", line
>> 127, in finalize
>>      assert data['tests']
>> AssertionError
>>
>>
>> Any ideas?
>>
>> -Brian
>
> I should really make the error message nicer.
>
> You've mistyped your -t option and excluded all of tests.

I ran into this recently as well. It seems like -t used to be
case-insensitive and is now case-sensitive. Or am I misremembering?

  -ilia


More information about the Piglit mailing list