summaryrefslogtreecommitdiffstats
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
parent267a93efd7c3ce2101da03d7d424d0c4a3a8696b (diff)
downloadSCons-1ed0796cf633eac961ae6f457b0187ab25c25b82.zip
SCons-1ed0796cf633eac961ae6f457b0187ab25c25b82.tar.gz
SCons-1ed0796cf633eac961ae6f457b0187ab25c25b82.tar.bz2
- fixes for some test, making them work on newer Linux distros
-rw-r--r--test/Fortran/F95FLAGS.py6
-rw-r--r--test/Fortran/SHF95FLAGS.py7
-rw-r--r--test/YACC/live.py2
3 files changed, 13 insertions, 2 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
diff --git a/test/YACC/live.py b/test/YACC/live.py
index 28e2186..d567ec3 100644
--- a/test/YACC/live.py
+++ b/test/YACC/live.py
@@ -91,8 +91,6 @@ newline: '\n';
test.write("file.yy", """\
%token GRAPH_T NODE_T EDGE_T DIGRAPH_T EDGEOP_T SUBGRAPH_T
-%pure_parser
-
%%
graph: GRAPH_T
;