Re: [Piglit] [Patch v2 1/4] framework: allow loading a piglit.conf from more locations

2014-07-18 Thread Jordan Justen
On Tue, Jul 15, 2014 at 6:39 PM, Dylan Baker wrote: > On Tuesday, July 15, 2014 04:44:31 PM Jordan Justen wrote: >> On Tue, Jul 15, 2014 at 7:02 AM, Dylan Baker > wrote: >> > [snip] >> > >> >> > +else: >> >> > +if __debug__: >> >> > +print('Warning: piglit.conf

Re: [Piglit] [Patch v2 1/4] framework: allow loading a piglit.conf from more locations

2014-07-15 Thread Dylan Baker
On Tuesday, July 15, 2014 04:44:31 PM Jordan Justen wrote: > On Tue, Jul 15, 2014 at 7:02 AM, Dylan Baker wrote: > > [snip] > > > >> > +else: > >> > +if __debug__: > >> > +print('Warning: piglit.conf not found!\n' > >> > + '(searching curr

Re: [Piglit] [Patch v2 1/4] framework: allow loading a piglit.conf from more locations

2014-07-15 Thread Jordan Justen
On Tue, Jul 15, 2014 at 7:02 AM, Dylan Baker wrote: > [snip] >> > +else: >> > +if __debug__: >> > +print('Warning: piglit.conf not found!\n' >> > + '(searching current dir, $HOME/.config, ' >> > + '$XDG_CONFIG_HOME, and

Re: [Piglit] [Patch v2 1/4] framework: allow loading a piglit.conf from more locations

2014-07-15 Thread Dylan Baker
[snip] > > +else: > > +if __debug__: > > +print('Warning: piglit.conf not found!\n' > > + '(searching current dir, $HOME/.config, ' > > + '$XDG_CONFIG_HOME, and piglit source dir)', > > + file=sys.std

Re: [Piglit] [Patch v2 1/4] framework: allow loading a piglit.conf from more locations

2014-07-15 Thread Jordan Justen
On Mon, Jul 7, 2014 at 4:20 PM, Dylan Baker wrote: > With this patch piglit.conf can live in a number of different places. It > can live in the current directory, then in XDG_CONFIG_HOME > ($HOME/.config by default), and finally in the piglit source directory. > > v2: - fix types (chadv) > - c

Re: [Piglit] [Patch v2 1/4] framework: allow loading a piglit.conf from more locations

2014-07-10 Thread Chad Versace
On 07/07/2014 04:20 PM, Dylan Baker wrote: With this patch piglit.conf can live in a number of different places. It can live in the current directory, then in XDG_CONFIG_HOME ($HOME/.config by default), and finally in the piglit source directory. v2: - fix types (chadv) - change load order

Re: [Piglit] [Patch v2 1/4] framework: allow loading a piglit.conf from more locations

2014-07-07 Thread Dylan Baker
On Monday, July 07, 2014 04:20:35 PM Dylan Baker wrote: > With this patch piglit.conf can live in a number of different places. It > can live in the current directory, then in XDG_CONFIG_HOME > ($HOME/.config by default), and finally in the piglit source directory. > > v2: - fix types (chadv) >

[Piglit] [Patch v2 1/4] framework: allow loading a piglit.conf from more locations

2014-07-07 Thread Dylan Baker
With this patch piglit.conf can live in a number of different places. It can live in the current directory, then in XDG_CONFIG_HOME ($HOME/.config by default), and finally in the piglit source directory. v2: - fix types (chadv) - change load order to make ./.piglit.conf load first (chadv)