diff options
Diffstat (limited to 'test/YACC.py')
-rw-r--r-- | test/YACC.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/YACC.py b/test/YACC.py index 2868085..1df8cc5 100644 --- a/test/YACC.py +++ b/test/YACC.py @@ -34,8 +34,12 @@ python = sys.executable if sys.platform == 'win32': _exe = '.exe' + compiler = 'msvc' + linker = 'mslink' else: _exe = '' + compiler = 'gcc' + linker = 'gnulink' test = TestSCons.TestSCons() @@ -58,8 +62,10 @@ output.close() sys.exit(0) """) + + test.write('SConstruct', """ -env = Environment(YACC = r'%s myyacc.py') +env = Environment(YACC = r'%s myyacc.py', tools=['default', 'yacc']) env.Program(target = 'aaa', source = 'aaa.y') """ % python) |