[Piglit] [PATCH 0/2] Add support for compressing results

Dylan Baker baker.dylan.c at gmail.com
Fri May 29 14:43:31 PDT 2015


This series adds a framework for compressing results files with builtin
python compression methods. The end result is that gzip is now
supported, in addition to plain, uncompressed files in the json backend.
JUnit does not support compression, so it's not opted it.

This should also make adding more compression methods (say xz in
python3), a trivial couple of lines of code

Dylan Baker (2):
  framework: Add ability to set a compression method on file backends
  framework: add support for gzip compression for json results files

 framework/backends/__init__.py               |  34 ++++---
 framework/backends/abstract.py               |  49 ++++++++--
 framework/backends/json.py                   |  62 ++++++------
 framework/tests/json_backend_tests.py        | 135 +++++++++++++++++++++++----
 framework/tests/json_results_update_tests.py |   7 +-
 framework/tests/json_tests.py                |   4 +-
 framework/tests/utils.py                     |  58 ++++++++++--
 piglit.conf.example                          |   7 +-
 8 files changed, 279 insertions(+), 77 deletions(-)

-- 
2.4.2



More information about the Piglit mailing list