diff options
Diffstat (limited to 'test/SHF77FLAGS.py')
-rw-r--r-- | test/SHF77FLAGS.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/SHF77FLAGS.py b/test/SHF77FLAGS.py index cb1e6f6..231fea2 100644 --- a/test/SHF77FLAGS.py +++ b/test/SHF77FLAGS.py @@ -185,12 +185,7 @@ test.fail_test(test.read('test6' + _exe) != "%s\nThis is a .FPP file.\n" % o) -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: |