diff options
author | Steven Knight <knight@baldmt.com> | 2004-11-14 21:30:31 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-11-14 21:30:31 (GMT) |
commit | f654911b566927cea1761e92e93c93f2943cdd8a (patch) | |
tree | 4a78aa2a0fba4dee83bc1b5f653e25f17714db3e /test/Command.py | |
parent | 09cad6ed1ffb436742adbbf6608bb094b4a236e2 (diff) | |
download | SCons-f654911b566927cea1761e92e93c93f2943cdd8a.zip SCons-f654911b566927cea1761e92e93c93f2943cdd8a.tar.gz SCons-f654911b566927cea1761e92e93c93f2943cdd8a.tar.bz2 |
Support override expansions within target and source files names.
Diffstat (limited to 'test/Command.py')
-rw-r--r-- | test/Command.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Command.py b/test/Command.py index eddc1f5..6563bd9 100644 --- a/test/Command.py +++ b/test/Command.py @@ -85,6 +85,9 @@ Command(target = 'f8.out', source = 'f8.in', action = r"%(python)s build.py $TARGET $SOURCE") env.Command(target = 'f9.out', source = 'f9.in', action = r"$EXPAND") +env.Command(target = '${F10}.out', source = '${F10}.in', + action = r"%(python)s build.py $TARGET $SOURCE", + F10 = 'f10') """ % {'python': python}) test.write('f1.in', "f1.in\n") @@ -98,6 +101,7 @@ test.write('f6.in', "f6.in\n") test.write('f7.in', "f7.in\n") test.write('f8.in', "f8.in\n") test.write('f9.in', "f9.in\n") +test.write('f10.in', "f10.in\n") test.run(arguments = '.') @@ -110,5 +114,6 @@ test.must_match('f6.out', "f6.in\n") test.must_match('f7.out', "f7.in\n") test.must_match('f8.out', "f8.in\n") test.must_match('f9.out', "f9.in\n") +test.must_match('f10.out', "f10.in\n") test.pass_test() |