[Scons-dev] QMTest where_is different than Environment.py Detect

Daniel Moody dmoody256 at gmail.com
Mon Apr 9 12:16:43 EDT 2018


For some of the scons tool tests, the QMTest uses the test where_is method
to find the existance of the binary to determine if the test should be run.
Then when the test is actually being run, the environment uses it's Detect
method to find the binary.

The test where_is uses os.environ['PATH'] to search in, but the Detect
method does not. This leads to cases where the os environment runtest.py
was run under is different than the default environment path that gets set
from scons.

Should the test where_is work similar to the the environment detect for
determining if the test should be run?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20180409/fa2d68e9/attachment.html>


More information about the Scons-dev mailing list