[Piglit] [PATCH 0/4] Replace bash generator with python generator
baker.dylan.c at gmail.com
Fri Mar 27 12:01:23 PDT 2015
This replaces one of the two variable-index generators. I'm working on
the second one as well, but that generator is more difficult to work
with than this was.
I think that the diffstats speak for themselves on this one.
The initial patch is as naive a port as possible. The goal was to
produce a generator that produced as close to the same result as
possible without a lot of guessing about what I had changed from the
original. The following 3 patches make some cleanups and generally make
the generator better. They could be squashed back into the original
patch if reviews feel that way.
I tested this with both python2.7 and python3.3, in both cases the
generated tests were the same except for white space, and produced the
same result (pass) on my HSW GT3e.
Dylan Baker (4):
generators: port variable-index-read.sh to python
gen_variable_index_read_tests use bools instead of 0 and 1
gen_variable_index_read_tests: simplify some things
gen_variable_index_read_tests.py: reduce duplication with loop
440 files changed, 547 insertions(+), 34076 deletions(-)
More information about the Piglit