summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Decider/MD5-winonly-firstbuild.py4
-rw-r--r--test/Decider/MD5-winonly-fixture/SConstruct3
2 files changed, 4 insertions, 3 deletions
diff --git a/test/Decider/MD5-winonly-firstbuild.py b/test/Decider/MD5-winonly-firstbuild.py
index 1e1b51e..87f7999 100644
--- a/test/Decider/MD5-winonly-firstbuild.py
+++ b/test/Decider/MD5-winonly-firstbuild.py
@@ -43,9 +43,9 @@ if IS_WINDOWS:
lex = test.where_is('flex') or test.where_is('lex') or test.where_is('win_flex')
# print("Lex:%s yacc:%s"%(lex,yacc))
if not yacc or not lex:
- test.skip_test("On windows but no flex/lex/win_flex and yacc/bison/win_bison required for test")
+ test.skip_test("On windows but no flex/lex/win_flex and yacc/bison/win_bison required for test\n")
else:
- test.skip_test("Windows only test")
+ test.skip_test("Windows only test\n")
test.dir_fixture('MD5-winonly-fixture')
diff --git a/test/Decider/MD5-winonly-fixture/SConstruct b/test/Decider/MD5-winonly-fixture/SConstruct
index c194c47..9775a43 100644
--- a/test/Decider/MD5-winonly-fixture/SConstruct
+++ b/test/Decider/MD5-winonly-fixture/SConstruct
@@ -5,5 +5,6 @@ env.AppendENVPath('PATH', r'd:\mesa\flexbison')
env.Tool('lex')
env.Tool('yacc')
env['YACCFLAGS'] = '-d'
-env.Append(LEXFLAGS = ['--wincompat'])
+if env['YACC'] == 'win_flex':
+ env.Append(LEXFLAGS = ['--wincompat'])
env.SharedLibrary('dummy',['test_lex.l','test_parse.y'])