[Scons-dev] Vague recollection of reporting a problem

Managan, Rob managan1 at llnl.gov
Tue Jan 21 16:05:35 EST 2014


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" <russel at 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?

>




More information about the Scons-dev mailing list