[Scons-dev] Vague recollection of reporting a problem

2014-01-21 Thread Russel Winder
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

Re: [Scons-dev] Vague recollection of reporting a problem

2014-01-21 Thread Dirk Bächle
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

Re: [Scons-dev] Vague recollection of reporting a problem

2014-01-21 Thread Managan, Rob
Russel, I think the alternative is TestSCons.TestSCons().detect_tool(tool). A quick look at the source makes it look like it expects a single tool name to be given. It seems to use an environment created for that tool and uses its path. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- Rob Managan