[Piglit] [PATCH 00/44] Port framework to run on both python 2.7 and 3.3+
Dylan Baker
baker.dylan.c at gmail.com
Mon Feb 1 18:09:04 PST 2016
You're right, on python 3.3 and 3.5 it works, but not on python 2.7.
I'll have a look at it in the morning and see if I can get it sorted.
Dylan
Quoting Jose Fonseca (2016-02-01 15:35:25)
> Dylan,
>
>
> I tried to build your branch. With Python 2.7 for starters (just for
> conveniency, then my plan was to build with Python 3.)
>
> But I get this failure, both on Windows and Linux:
>
> [21/3075] Generating tests/util/piglit-dispatch-gen.c,
> tests/util/piglit-dispatch-gen.h, tests/util/piglit-util-gl-enum-gen.c
> FAILED: cd /home/jfonseca/work/vmware/tests/piglit/build/lin64 &&
> /usr/bin/python2.7
> /home/jfonseca/work/vmware/tests/piglit/tests/util/gen_dispatch.py
> --out-dir /home/jfonseca/work/vmware/tests/piglit/build/lin64/tests/util
> Traceback (most recent call last):
> File
> "/home/jfonseca/work/vmware/tests/piglit/tests/util/gen_dispatch.py",
> line 195, in <module>
> main()
> File
> "/home/jfonseca/work/vmware/tests/piglit/tests/util/gen_dispatch.py",
> line 68, in main
> gl_registry = registry.gl.parse()
> File
> "/home/jfonseca/work/vmware/tests/piglit/tests/util/../../registry/gl.py",
> line 62, in parse
> return Registry(xml_registry)
> File
> "/home/jfonseca/work/vmware/tests/piglit/tests/util/../../registry/gl.py",
> line 363, in __init__
> self.commands.add(command)
> File
> "/home/jfonseca/work/vmware/tests/piglit/tests/util/../../registry/gl.py",
> line 220, in add
> key = self.__key_func(value)
> TypeError: 'unicode' object is not callable
>
>
> Jose
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: signature
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20160201/52c46137/attachment.sig>
More information about the Piglit
mailing list