QMTest where_is different than Environment.py Detect

Daniel Moody <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <CANws3JT3OFc2bnStjynLt6dVtBLsUG_Ob6X33E0GVnKiYdhQFg@mail.gmail.com>
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?

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.