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/YACCFLAGS.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/YACCFLAGS.py')
-rw-r--r-- | test/YACCFLAGS.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/YACCFLAGS.py b/test/YACCFLAGS.py index 288696b..ba38209 100644 --- a/test/YACCFLAGS.py +++ b/test/YACCFLAGS.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() @@ -59,9 +63,9 @@ sys.exit(0) """) test.write('SConstruct', """ -env = Environment(YACC = r'%s myyacc.py', YACCFLAGS = '-x') +env = Environment(YACC = r'%s myyacc.py', YACCFLAGS = '-x', tools=['yacc', '%s', '%s']) env.Program(target = 'aaa', source = 'aaa.y') -""" % python) +""" % (python, linker, compiler)) test.write('aaa.y', r""" int |