summaryrefslogtreecommitdiffstats
path: root/test/Fortran
diff options
context:
space:
mode:
authorDirk Baechle <dl9obn@darc.de>2014-08-19 22:21:41 (GMT)
committerDirk Baechle <dl9obn@darc.de>2014-08-19 22:21:41 (GMT)
commit1ed0796cf633eac961ae6f457b0187ab25c25b82 (patch)
tree9b55d4a68458fa5936ea26f3f2d12f4d97d63839 /test/Fortran
parent267a93efd7c3ce2101da03d7d424d0c4a3a8696b (diff)
downloadSCons-1ed0796cf633eac961ae6f457b0187ab25c25b82.zip
SCons-1ed0796cf633eac961ae6f457b0187ab25c25b82.tar.gz
SCons-1ed0796cf633eac961ae6f457b0187ab25c25b82.tar.bz2
- fixes for some test, making them work on newer Linux distros
Diffstat (limited to 'test/Fortran')
-rw-r--r--test/Fortran/F95FLAGS.py6
-rw-r--r--test/Fortran/SHF95FLAGS.py7
2 files changed, 13 insertions, 0 deletions
diff --git a/test/Fortran/F95FLAGS.py b/test/Fortran/F95FLAGS.py
index de18858..8c3ce09 100644
--- a/test/Fortran/F95FLAGS.py
+++ b/test/Fortran/F95FLAGS.py
@@ -104,6 +104,12 @@ g95 = test.detect_tool(fc)
if g95:
+ test.subdir('x')
+
+ test.write(['x','dummy.i'],
+"""
+# Exists only such that -Ix finds the directory...
+""")
test.write("wrapper.py",
"""import os
diff --git a/test/Fortran/SHF95FLAGS.py b/test/Fortran/SHF95FLAGS.py
index b945bac..8e75878 100644
--- a/test/Fortran/SHF95FLAGS.py
+++ b/test/Fortran/SHF95FLAGS.py
@@ -103,6 +103,13 @@ g95 = test.detect_tool(fc)
if g95:
+ test.subdir('x')
+
+ test.write(['x','dummy.i'],
+"""
+# Exists only such that -Ix finds the directory...
+""")
+
test.write("wrapper.py",
"""import os
import sys