[Piglit] [PATCH 00/44] Port framework to run on both python 2.7 and 3.3+

Dylan Baker baker.dylan.c at gmail.com
Tue Feb 2 14:37:30 PST 2016


Okay, it was a pretty trivial bug, I've pushed an updated branch to
github, I can send an updated patch too if you prefer.

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/20160202/31acf53b/attachment.sig>


More information about the Piglit mailing list