summaryrefslogtreecommitdiffstats
path: root/test/option-k.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2001-10-11 23:13:20 (GMT)
committerSteven Knight <knight@baldmt.com>2001-10-11 23:13:20 (GMT)
commit6f4f6e4639a3a4a796b28322ba07b9b81f2c354f (patch)
treebf1be1f8cebc4b016b9856f27d1cf84879b547be /test/option-k.py
parent580b07ed247ab0de0ea96093fc2c4baa28c35c65 (diff)
downloadSCons-6f4f6e4639a3a4a796b28322ba07b9b81f2c354f.zip
SCons-6f4f6e4639a3a4a796b28322ba07b9b81f2c354f.tar.gz
SCons-6f4f6e4639a3a4a796b28322ba07b9b81f2c354f.tar.bz2
Implement special variable substitution.
Diffstat (limited to 'test/option-k.py')
-rw-r--r--test/option-k.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/option-k.py b/test/option-k.py
index 17f57ee..e8fead2 100644
--- a/test/option-k.py
+++ b/test/option-k.py
@@ -45,8 +45,8 @@ sys.exit(1)
""")
test.write('SConstruct', """
-Succeed = Builder(name = "Succeed", action = "python succeed.py %(target)s")
-Fail = Builder(name = "Fail", action = "python fail.py %(target)s")
+Succeed = Builder(name = "Succeed", action = "python succeed.py $targets")
+Fail = Builder(name = "Fail", action = "python fail.py $targets")
env = Environment(BUILDERS = [Succeed, Fail])
env.Fail(target = 'aaa.1', source = 'aaa.in')
env.Succeed(target = 'aaa.out', source = 'aaa.1')