[Piglit] [Bug 89351] New: Piglit make fail at piglit-dispatch-gen

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 26 19:29:09 PST 2015


            Bug ID: 89351
           Summary: Piglit make fail at piglit-dispatch-gen
           Product: piglit
           Version: unspecified
          Hardware: All
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: high
         Component: tests
          Assignee: baker.dylan.c at gmail.com
          Reporter: huax.lu at intel.com
        QA Contact: piglit at lists.freedesktop.org

System Environment:
Piglit: 0e1d119e94019922a0a084e71c099e6553f76b01

Bug detailed description:
Piglit make fail.

Bisect shows: 0e1d119e94019922a0a084e71c099e6553f76b01 is the first bad commit.
commit 0e1d119e94019922a0a084e71c099e6553f76b01
Author:     Dylan Baker <baker.dylan.c at gmail.com>
AuthorDate: Fri Feb 20 12:43:15 2015 -0800
Commit:     Dylan Baker <baker.dylan.c at gmail.com>
CommitDate: Mon Feb 23 15:47:10 2015 -0800

    registry generation: Finish hybridizing

    registry/gl.py and tests/util/gen_dispatch.py and pretty much
    indistinguishable in purpose, so it makes sense to finish porting them

    This is actually not very invasive, a few calls to six, and a few cases
    of using forward compatible functions (functools.reduce instead of the
    builtin reduce, which was removed in python3)

    The resulting output is exactly the same.

    v2: - Use else: assert six.PY3 (jljusten)

    Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>

[  0%] Generating tests/util/piglit-dispatch-gen.c,
tests/util/piglit-dispatch-gen.h, tests/util/piglit-util-gl-enum-gen.c
Traceback (most recent call last):
  File "/GFX/Test/Piglit/piglit/tests/util/gen_dispatch.py", line 170, in
  File "/GFX/Test/Piglit/piglit/tests/util/gen_dispatch.py", line 66, in main
    gl_registry = registry.gl.parse()
  File "/GFX/Test/Piglit/piglit/tests/util/../../registry/gl.py", line 61, in
    return Registry(xml_registry)
  File "/GFX/Test/Piglit/piglit/tests/util/../../registry/gl.py", line 363, in
    enum_group = EnumGroup(xml_enums)
  File "/GFX/Test/Piglit/piglit/tests/util/../../registry/gl.py", line 1055, in
    self.enums.add(Enum(self, xml_enum))
  File "/GFX/Test/Piglit/piglit/tests/util/../../registry/gl.py", line 1115, in
    if six.PY2:
AttributeError: 'module' object has no attribute 'PY2'
make[2]: *** [tests/util/piglit-dispatch-gen.c] Error 1
make[1]: *** [CMakeFiles/piglit_dispatch_gen.dir/all] Error 2
make: *** [all] Error 2

You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20150227/9f6adc78/attachment-0001.html>

More information about the Piglit mailing list