[Piglit] [PATCH 0/4] Replace bash generator with python generator

Dylan Baker baker.dylan.c at gmail.com
Fri Mar 27 12:48:00 PDT 2015


Apparently patch 1 is almost a 1Mb, so...

This is available at my github:
https://github.com/dcbaker/piglit submit/generate-variable-index-read

Dylan

On Fri, Mar 27, 2015 at 12:01:23PM -0700, Dylan Baker wrote:
> 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(-)
> 
> -- 
> 2.3.4
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20150327/b040bdbc/attachment.sig>


More information about the Piglit mailing list