[Piglit] [PATCH 0/3] apitrace test runner for piglit

Eric Anholt eric at anholt.net
Wed Sep 14 10:03:28 UTC 2016


I've applied Dylan's comments to the RFC series, and I've pushed a
starting trace-db with reference images for my i965 and vc4:

https://github.com/anholt/trace-db

Eric Anholt (3):
  framework: Add a driver classifier based on the renderer string.
  apitrace: Add a script for capturing and comparing trace images.
  all.py: Test any apitraces we find under tests/apitrace/traces.

 framework/driver_classifier.py                | 121 +++++++++++++++++++++
 framework/test/piglit_test.py                 |   1 +
 tests/all.py                                  |  22 +++-
 tests/apitrace/test-trace.py                  | 149 ++++++++++++++++++++++++++
 unittests/framework/test_driver_classifier.py |  60 +++++++++++
 5 files changed, 352 insertions(+), 1 deletion(-)
 create mode 100644 framework/driver_classifier.py
 create mode 100755 tests/apitrace/test-trace.py
 create mode 100644 unittests/framework/test_driver_classifier.py

-- 
2.9.3



More information about the Piglit mailing list