[Scons-dev] detect and where_is

Russel Winder russel at winder.org.uk
Mon Dec 31 06:24:27 EST 2012


The detect function in TestSCons.TestScons fiddles with variables and
then calls where_is. The where_is function uses the user's PATH by
default. This means where_is returns True in situation where SCons has
no access to the executable. This means that using the where_is function
to determine whether a test should run is completely useless since it
effectively lies :-(

So what is the SCons idiom for determining whether an executable is
accessible to SCons when executing?

--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : <http://two.pairlist.net/pipermail/scons-dev/attachments/20121231/a02c0098/attachment.pgp>


More information about the Scons-dev mailing list