[Monetdb-developers] [Monetdb-checkins] testing/src Mtest.py.in, , 1.26, 1.27

Fabian Groffen Fabian.Groffen at cwi.nl
Fri Jul 17 18:06:59 CEST 2009


On 17-07-2009 17:57:34 +0200, Stefan Manegold wrote:
> On Fri, Jul 17, 2009 at 05:37:17PM +0200, Fabian Groffen wrote:
> > On 17-07-2009 17:30:26 +0200, Stefan Manegold wrote:
> > > This might require quite a bunch of tests to be adapted accordingly,
> > > because so far basically all tests assumed that they were executed in the
> > > TSTTRGDIR (though there are tests that "don't care")...
> > > ... you already fixed some; but I guess there are (many?) more to do ...
> > > 
> > > Wasn't there a chance to do a per-thread chdir?
> > > Or does Python not allow that?
> > 
> > chdir is per process, not thread.
> 
> What about setting cwd=<TSTTRGDIR> with the respective subprocess.Popen()
> call(s)?

Might be possible, but isn't the current solution more elegant, because
its agnostic to the CWD?




More information about the developers-list mailing list