[qmtest] command.ShellCommandTest run directory
Gilles Depeyrot
gilles_depeyrot at mac.com
Mon Nov 10 19:42:40 UTC 2003
Hi,
Le 10 nov. 03, à 18:39, Mark Mitchell a écrit :
> The reason that QMTest no longer changes the directory is that it is
> not
> safe to change the directory in a multi-threaded program. In
> particular, the directory change affects all of the threads, so if
> QMTest were to change the directory for every test it would no longer
> be
> able to run more than one test at once.
Ok, thanks for the explanation :-)
> I think that the best change would be to have QMTest include the test
> ID
> and the database path in the shell-script context, i.e., as $QMV_*
> variables.
>
> Would that work for you?
That would be perfect and is exactly what I was looking for.
Regards,
Gilles
--
Gilles Depeyrot
<mailto:Gilles_Depeyrot at mac.com>
More information about the qmtest
mailing list