From 1ed0796cf633eac961ae6f457b0187ab25c25b82 Mon Sep 17 00:00:00 2001 From: Dirk Baechle Date: Wed, 20 Aug 2014 00:21:41 +0200 Subject: - fixes for some test, making them work on newer Linux distros --- test/Fortran/F95FLAGS.py | 6 ++++++ test/Fortran/SHF95FLAGS.py | 7 +++++++ test/YACC/live.py | 2 -- 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 ; -- cgit v0.12