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                             email managan at llnl.gov
LLNL                                             phone: 925-423-0903
P.O. Box 808, L-095                   FAX:   925-422-3389
Livermore, CA  94551-0808





On 1/21/14 9:39 AM, "Russel Winder" <rus...@winder.org.uk> 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?
>

_______________________________________________
Scons-dev mailing list
Scons-dev@scons.org
http://two.pairlist.net/mailman/listinfo/scons-dev

Reply via email to