summaryrefslogtreecommitdiffstats
path: root/test/F77.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/F77.py')
-rw-r--r--test/F77.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/F77.py b/test/F77.py
index 964682d..6548498 100644
--- a/test/F77.py
+++ b/test/F77.py
@@ -167,12 +167,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: