summaryrefslogtreecommitdiffstats
path: root/test/option-c.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-09-10 13:19:03 (GMT)
committerSteven Knight <knight@baldmt.com>2003-09-10 13:19:03 (GMT)
commite181e48bb62502b88107536c2e8dbd5886bf17fd (patch)
treee835fcf4a2cf7f45f7af2386a58e1104c6ecc710 /test/option-c.py
parente10b74a59f1830769ba4c7e65a846228812ae2fa (diff)
downloadSCons-e181e48bb62502b88107536c2e8dbd5886bf17fd.zip
SCons-e181e48bb62502b88107536c2e8dbd5886bf17fd.tar.gz
SCons-e181e48bb62502b88107536c2e8dbd5886bf17fd.tar.bz2
Make a Clean() environment method. Add global functions for AlwaysBuild(), Command(), Depends(), Ignore(), Install(), InstallAs(), Precious(), SideEffect() and SourceCode().
Diffstat (limited to 'test/option-c.py')
-rw-r--r--test/option-c.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/option-c.py b/test/option-c.py
index c149c2a..1596d9f 100644
--- a/test/option-c.py
+++ b/test/option-c.py
@@ -164,14 +164,14 @@ test.write('aux1.x', "aux1.x\n")
test.write('aux2.x', "aux2.x\n")
test.write('SConstruct', """
B = Builder(action = r'%s build.py $TARGETS $SOURCES')
-env = Environment(BUILDERS = { 'B' : B })
+env = Environment(BUILDERS = { 'B' : B }, FOO = 'foo2')
env.B(target = 'foo1.out', source = 'foo1.in')
env.B(target = 'foo2.out', source = 'foo2.xxx')
env.B(target = 'foo2.xxx', source = 'foo2.in')
env.B(target = 'foo3.out', source = 'foo3.in')
SConscript('subd/SConscript')
Clean('foo2.xxx', ['aux1.x'])
-Clean('foo2.xxx', ['aux2.x'])
+env.Clean('${FOO}.xxx', ['aux2.x'])
Clean('.', ['subd'])
""" % python)