diff options
author | Steven Knight <knight@baldmt.com> | 2002-08-28 14:28:02 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-08-28 14:28:02 (GMT) |
commit | 5579408699ca7d0c1da071ad61685d1635ecd4fe (patch) | |
tree | cf27e7cc313787d48da8051bdd0bb312ed1e0942 /test | |
parent | b45eadaa5d2bbc5bed324aabf2d19c5d458fcd1a (diff) | |
download | SCons-5579408699ca7d0c1da071ad61685d1635ecd4fe.zip SCons-5579408699ca7d0c1da071ad61685d1635ecd4fe.tar.gz SCons-5579408699ca7d0c1da071ad61685d1635ecd4fe.tar.bz2 |
Make sure auto-deducing target names works when a Node is passed in as a source file.
Diffstat (limited to 'test')
-rw-r--r-- | test/no-target.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/no-target.py b/test/no-target.py index 7aa56c4..dd24a8d 100644 --- a/test/no-target.py +++ b/test/no-target.py @@ -51,14 +51,18 @@ def cat(env, source, target): b = Builder(action=cat, suffix='.out', src_suffix='.in') env = Environment(BUILDERS={'Build':b}) env.Build('aaa.in') +n = env.Build('bbb.in', 'bbb.input') +env.Build(n) """) test.write(['subdir', 'aaa.in'], "subdir/aaa.in\n") +test.write(['subdir', 'bbb.input'], "subdir/bbb.input\n") # test.run(arguments = '.') test.fail_test(test.read(['subdir', 'aaa.out']) != "subdir/aaa.in\n") +test.fail_test(test.read(['subdir', 'bbb.out']) != "subdir/bbb.input\n") # test.pass_test() |