[Piglit] failed assertion in json_.py

Dylan Baker baker.dylan.c at gmail.com
Tue Nov 4 09:43:18 PST 2014


On Tuesday, November 04, 2014 12:37:14 PM Ilia Mirkin wrote:
> 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

I'm not sure. The contents of -t and -x are re.compiled(), and I haven't
(Intentionally) changed the behavior of the -t or -x options.

The assertion is new, however.

Dylan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20141104/1295d2d7/attachment.sig>


More information about the Piglit mailing list