summaryrefslogtreecommitdiffstats
path: root/test/option-i.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-i.py
parent580b07ed247ab0de0ea96093fc2c4baa28c35c65 (diff)
downloadSCons-6f4f6e4639a3a4a796b28322ba07b9b81f2c354f.zip
SCons-6f4f6e4639a3a4a796b28322ba07b9b81f2c354f.tar.gz
SCons-6f4f6e4639a3a4a796b28322ba07b9b81f2c354f.tar.bz2
Implement special variable substitution.
Diffstat (limited to 'test/option-i.py')
-rw-r--r--test/option-i.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/option-i.py b/test/option-i.py
index 9463141..3301396 100644
--- a/test/option-i.py
+++ b/test/option-i.py
@@ -43,8 +43,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')