[Scons-dev] Vague recollection of reporting a problem
Dirk Bächle
tshortik at gmx.de
Tue Jan 21 15:36:22 EST 2014
On 21.01.2014 18:39, Russel Winder wrote:
> It is clearly the case that TestSCons.TestSCons().where_is(toolSequence)
> uses the users current PATH to search. However when the tool is actually
> used, the stripped down PATH is used. This means there appears to be no
> way of checking whether a test will fail due to a failure to find the
> executable of a tool.
>
> Or am I missing something?
>
The method where_is() accepts a "path" as second argument, that is used
for searching if specified. So you could call TestSCons.where_is() with
the stripped down PATH variable as well. This should then give identical
results...haven't tried though. ;)
Regards,
Dirk
More information about the Scons-dev
mailing list