[Scons-dev] Time for a show down…

Dirk Bächle tshortik at gmx.de
Sat Sep 6 06:39:14 EDT 2014


Hi guys,

speaking about tests and $PATH. I updated PR #181 a few minutes ago, 
fixing a similar issue... ;)
This should get all Linux boxes green now, except the Debian one with 
Python 2.6 (Anatoly?).

Best regards,

Dirk

On 06.09.2014 12:27, Gary Oberbrunner wrote:
>
> On Sat, Sep 6, 2014 at 6:16 AM, Russel Winder <russel at winder.org.uk 
> <mailto:russel at winder.org.uk>> wrote:
>
>     TestSCons.TestSCons.where_is searches the user's path for an
>     executable.
>     When running tests SCons does not use the users path, just the default
>     system path, to search for executables. where_is is therefore either
>     broken or useless.
>
>
> I hear you.  Let's say it is broken.  What's the fix?  Don't use $PATH 
> by default?
>
> Some tests want to deliberately look in $PATH and set up the test 
> accordingly;
> maybe the simple fix is just to not use os.environ['PATH'] when the 
> passed-in
> optional path arg is None.  Any test that really wants that would have to
> explicitly pass os.environ['PATH'].  I wonder how many tests that 
> would break.
>
> -- 
> Gary
>
>
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20140906/b6dee4f6/attachment.html>


More information about the Scons-dev mailing list