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 <[email protected] <mailto:[email protected]>> 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
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev

Reply via email to