[Piglit] [PATCH] generated_tests: Actually catch exception in os.makedirs

Dylan Baker baker.dylan.c at gmail.com
Wed Dec 17 15:32:21 PST 2014


You're right. Obviously I picked up a stray hunk from another branch.
I'll fix that and send a v2.

On Wednesday, December 17, 2014 03:28:43 PM Mark Janes wrote:
> It seems like you unintentionally included an extra file:
> generated_tests/genclbuiltins.py
> 
> The deltas are not related to os.makedirs.
> 
> Dylan Baker <baker.dylan.c at gmail.com> writes:
> 
> >  generated_tests/genclbuiltins.py                   | 54 +++++++++-------------
> 
> > diff --git a/generated_tests/genclbuiltins.py b/generated_tests/genclbuiltins.py
> > index 7e85a51..681aa29 100644
> > --- a/generated_tests/genclbuiltins.py
> > +++ b/generated_tests/genclbuiltins.py
> > @@ -3,6 +3,8 @@ __all__ = ['gen', 'DATA_SIZES', 'MAX_VALUES', 'MAX', 'MIN', 'BMIN', 'BMAX',
> >  
> >  import os
> >  
> > +from modules import utils
> > +
> >  
> >  DATA_SIZES = {
> >      'char': 8,
> > @@ -139,44 +141,44 @@ def gen_kernel_1_arg(f, fnName, inType, outType):
> >          gen_kernel(f, fnName, [inType], outType, [vecSize], '')
> >  
> >  
> > -#  2 argument kernel with input types that match their vector size
> > -def gen_kernel_2_arg_same_size(f, fnName, inTypes, outType):
> > +#  2 argument kernel with input types that match
> > +def gen_kernel_2_arg_same_type(f, fnName, inType, outType):
> >      for vecSize in ALL_WIDTHS:
> > -        gen_kernel(f, fnName, inTypes, outType, [vecSize, vecSize],
> > +        gen_kernel(f, fnName, [inType, inType], outType, [vecSize, vecSize],
> >                     '')
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20141217/070eb801/attachment.sig>


More information about the Piglit mailing list