Rework fast skipping to handle compat profile

Submitted by Dylan Baker on June 25, 2018, 11:28 p.m.

Details

Reviewer None
Submitted June 25, 2018, 11:28 p.m.
Last Updated July 10, 2018, 5:42 p.m.
Revision 7

Cover Letter(s)

Revision 1
      This series makes reworks the way that fast skipping works in piglit to be
somewhat simpler and better suited for handling compat profile.

The biggest change is that piglit now treats GLES 1, GLES 2+, OpenGL Core
Profile, and OpenGL Compat and "legacy" pre-profile OpenGL as separate things.
This allows us to have finer grained support for skipping. This allows i965
(which doesn't support compat) to skip some things in advance that it can't run.

Dylan Baker (7):
  framework/test: Fix whitespace
  wflinfo: Reimplement wflinfo separating the various API's
  unittests/wflinfo: Update tests for new API
  framework/test: Convert tests to new fast-skip interface
  serializer: serialize new fast-skip attributes
  framework/shader_test: GL_NUM_PROGRAM_BINARY_FORMATS >= 1 is not an
    extension
  framework/wflinfo: delete deprecated interface

 framework/test/glsl_parser_test.py            |  54 ++--
 framework/test/opengl.py                      | 185 ++++-------
 framework/test/piglit_test.py                 |   1 +
 framework/test/shader_test.py                 |  74 ++---
 framework/wflinfo.py                          | 293 +++++++++---------
 tests/serializer.py                           |  25 +-
 .../framework/test/test_glsl_parser_test.py   |  47 ++-
 unittests/framework/test/test_opengl.py       | 172 +++++-----
 unittests/framework/test/test_shader_test.py  |  24 +-
 unittests/framework/test_wflinfo.py           | 139 ++++-----
 10 files changed, 482 insertions(+), 532 deletions(-)
    

Revisions