diff options
author | Mats Wichmann <mats@linux.com> | 2025-03-06 23:16:13 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2025-03-06 23:16:13 (GMT) |
commit | 32a0f691808ad6462f8e7bc674e01c774083481c (patch) | |
tree | 1d2b821993ed0b07278ea3c00f1aa91360b04a44 /test | |
parent | 86887ebde913d34522402919effcd22940eabf24 (diff) | |
download | SCons-32a0f691808ad6462f8e7bc674e01c774083481c.zip SCons-32a0f691808ad6462f8e7bc674e01c774083481c.tar.gz SCons-32a0f691808ad6462f8e7bc674e01c774083481c.tar.bz2 |
Fix typos in CCFLAGS test
tool=[] -> tools=[]
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/CC/CCFLAGS.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/CC/CCFLAGS.py b/test/CC/CCFLAGS.py index 7269b9c..343cb4a 100644 --- a/test/CC/CCFLAGS.py +++ b/test/CC/CCFLAGS.py @@ -30,7 +30,7 @@ _obj = TestSCons._obj if sys.platform == 'win32': import SCons.Tool.MSCommon as msc - + if not msc.msvc_exists(): fooflags = '-DFOO' barflags = '-DBAR' @@ -44,7 +44,7 @@ else: test = TestSCons.TestSCons() test.write('SConstruct', """ -DefaultEnvironment(tool=[]) +DefaultEnvironment(tools=[]) foo = Environment(CCFLAGS = '%s') bar = Environment(CCFLAGS = '%s') foo.Object(target = 'foo%s', source = 'prog.c') @@ -88,8 +88,7 @@ prog.c: BAZ """) test.write('SConstruct', """ -DefaultEnvironment(tool=[]) - +DefaultEnvironment(tools=[]) bar = Environment(CCFLAGS = '%s') bar.Object(target = 'foo%s', source = 'prog.c') bar.Object(target = 'bar%s', source = 'prog.c') |