[Piglit] [PATCH 13/34] gen_shader_precision_tests.py: python2/3 hybridize

Jordan Justen jordan.l.justen at intel.com
Mon Feb 23 13:59:57 PST 2015


On 2015-02-23 13:34:26, Dylan Baker wrote:
> On Sat, Feb 21, 2015 at 04:33:27PM -0800, Jordan Justen wrote:
> > On 2015-02-20 18:18:00, Dylan Baker wrote:
> > > This produces no changes in output.
> > > 
> > > Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
> > > ---
> > >  generated_tests/gen_shader_precision_tests.py              | 14 ++++++++------
> > >  .../templates/gen_shader_precision_tests/fs.mako           | 11 +++++++----
> > >  .../templates/gen_shader_precision_tests/gs.mako           | 11 +++++++----
> > >  .../templates/gen_shader_precision_tests/vs.mako           | 11 +++++++----
> > >  4 files changed, 29 insertions(+), 18 deletions(-)
> > > 
> > > diff --git a/generated_tests/gen_shader_precision_tests.py b/generated_tests/gen_shader_precision_tests.py
> > > index 0d24a80..e2d2381 100644
> > > --- a/generated_tests/gen_shader_precision_tests.py
> > > +++ b/generated_tests/gen_shader_precision_tests.py
> > > @@ -46,10 +46,12 @@
> > >   This program outputs, to stdout, the name of each file it generates.
> > >  """
> > >  
> > > -from builtin_function import * 
> > > -import mako.template 
> > 
> > Seems unrelated, but meh...
> 
> pylint flagged it as unused, I can split it into a separate patch.

meh

:)


More information about the Piglit mailing list