[Piglit] [PATCH 0/8] Update the piglit- wrappers for python 3

Dylan Baker baker.dylan.c at gmail.com
Wed Mar 30 18:18:31 UTC 2016


This is the much sought after work to get piglit-* to work with both
python 2 and python 3. This uses six to fix up inputs to be
conditionally unicoded (only for python 2) and to make iterating items
efficient. There is also a bunch of stye cleanups here, but it shouldn't
affect any explicit behaviors of piglit.

Dylan Baker (8):
  framework: remove os.path as path import from piglit-print-commands.
  framework: sort imports in piglit-print-commands.py
  framework: simplify imports in piglit-print-commands.py
  framework: split a function out of main piglit-print-command.py
  framework: cleanup a bunch of style problems in piglit-print-commands
  framework: use six to make python2 and 3 work in piglit-print-commands
  framework: change the chbang to python in piglit-print-commands
  framework: update the rest of the piglit-* commands to be py3

 piglit-print-commands.py | 60 +++++++++++++++++++++++++++---------------------
 piglit-resume.py         | 11 ++++++---
 piglit-run.py            | 11 ++++++---
 piglit-summary-html.py   | 11 ++++++---
 piglit-summary.py        | 11 ++++++---
 5 files changed, 66 insertions(+), 38 deletions(-)

-- 
2.7.4



More information about the Piglit mailing list