On Thu, 2012-10-25 at 18:22 +0000, Managan, Rob wrote:
[…]
> Is there a good reason why tests tend to use test.where_is('my program') 
> instead of test.detect('my program') ???
> 
> I ask since where_is uses the os.environ path and detect uses the path set up 
> by the default environment. For me, the latter is to be preferred since our 
> default image for Macs includes some really old stuff that gets put on the 
> path. This means that about 20-40 of the scons test fail since they think a 
> tool is defined but the default environment can not run them since it is not 
> on the environments path.
[…]

Setting up a good paradigm for tools would be a good idea here. Having
looked at a few tools, from what I can tell, no two tools use the same
approach to anything, and there are lots of arcane bits in some of them.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Scons-dev mailing list
[email protected]
http://two.pairlist.net/mailman/listinfo/scons-dev

Reply via email to