diff options
author | Zachary Tessler <ztessler@gmail.com> | 2017-10-06 14:56:05 (GMT) |
---|---|---|
committer | Zachary Tessler <ztessler@gmail.com> | 2017-10-06 15:01:03 (GMT) |
commit | fc19d103e3e80582fecf1594abfa68595a196d24 (patch) | |
tree | c395edacea6960f8fe13959b1e6184e64e462256 /test/Builder | |
parent | 81c02354dfd7634708eb79547e9448150cc016a6 (diff) | |
download | SCons-fc19d103e3e80582fecf1594abfa68595a196d24.zip SCons-fc19d103e3e80582fecf1594abfa68595a196d24.tar.gz SCons-fc19d103e3e80582fecf1594abfa68595a196d24.tar.bz2 |
Fix incorrect warning of different environments for a target when repeating identical builder or Command calls that use overrides
Diffstat (limited to 'test/Builder')
-rw-r--r-- | test/Builder/non-multi.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Builder/non-multi.py b/test/Builder/non-multi.py index 70e800c..baf0ed0 100644 --- a/test/Builder/non-multi.py +++ b/test/Builder/non-multi.py @@ -43,13 +43,18 @@ B = Builder(action=build, multi=0) env = Environment(BUILDERS = { 'B' : B }) env.B(target = 'file7.out', source = 'file7.in') env.B(target = 'file7.out', source = 'file7.in') +env.B(target = 'file8.out', source = 'file8.in', arg=1) +env.B(target = 'file8.out', source = 'file8.in', arg=1) """) test.write('file7.in', 'file7.in\n') +test.write('file8.in', 'file8.in\n') test.run(arguments='file7.out') +test.run(arguments='file8.out') test.must_match('file7.out', "file7.in\n") +test.must_match('file8.out', "file8.in\n") test.pass_test() |