summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Baechle <dl9obn@darc.de>2014-08-20 00:21:41 +0200
committerDirk Baechle <dl9obn@darc.de>2014-08-20 00:21:41 +0200
commit1ed0796cf633eac961ae6f457b0187ab25c25b82 (patch)
tree9b55d4a68458fa5936ea26f3f2d12f4d97d63839
parent267a93efd7c3ce2101da03d7d424d0c4a3a8696b (diff)
downloadscons-git-1ed0796cf633eac961ae6f457b0187ab25c25b82.tar.gz
- 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 de1885852..8c3ce0938 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 b945bac13..8e758789c 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 28e2186dc..d567ec38c 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
;