summaryrefslogtreecommitdiffstats
path: root/test/SHF77.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-05-07 21:52:15 (GMT)
committerSteven Knight <knight@baldmt.com>2002-05-07 21:52:15 (GMT)
commite9512cbcf8dc872b474f9e7990b60bb9db1924f3 (patch)
tree0ba2d9c0f3368e88cd306a6f988657979dd1cccf /test/SHF77.py
parenta2ceacbe77db1b308f26454477ae3b1f1139eac8 (diff)
downloadSCons-e9512cbcf8dc872b474f9e7990b60bb9db1924f3.zip
SCons-e9512cbcf8dc872b474f9e7990b60bb9db1924f3.tar.gz
SCons-e9512cbcf8dc872b474f9e7990b60bb9db1924f3.tar.bz2
Add a better PATH search to the tests.
Diffstat (limited to 'test/SHF77.py')
-rw-r--r--test/SHF77.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/SHF77.py b/test/SHF77.py
index 43c6485..cffd94d 100644
--- a/test/SHF77.py
+++ b/test/SHF77.py
@@ -169,12 +169,7 @@ test.fail_test(test.read('test6' + _exe) != "This is a .FPP file.\n")
-g77 = None
-for dir in string.split(os.environ['PATH'], os.pathsep):
- g = os.path.join(dir, 'g77' + _exe)
- if os.path.exists(g):
- g77 = g
- break
+g77 = test.where_is('g77')
if g77: