diff options
author | Steven Knight <knight@baldmt.com> | 2002-09-05 00:04:32 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-09-05 00:04:32 (GMT) |
commit | 246819663b8eaeb130580f4b97990248f26eaadd (patch) | |
tree | f9ca305b654b4d35be2ba9a59bc85f341b916ac4 /test/YACC.py | |
parent | 08ecd797ee635637097196960ea6a90e8dd29d62 (diff) | |
download | SCons-246819663b8eaeb130580f4b97990248f26eaadd.zip SCons-246819663b8eaeb130580f4b97990248f26eaadd.tar.gz SCons-246819663b8eaeb130580f4b97990248f26eaadd.tar.bz2 |
Fix the tests that broke from the tool auto-detect stuff. (Anthony Roach and SK)
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) |