summaryrefslogtreecommitdiffstats
path: root/test/Depends.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2001-12-20 04:40:12 (GMT)
committerSteven Knight <knight@baldmt.com>2001-12-20 04:40:12 (GMT)
commit8526ba0bb9938ddf3ceca8ca917c77f7b1505f55 (patch)
tree724169956a0e4bef7a271ad4b46d8dca4cee3d2b /test/Depends.py
parent98bdd799b0c61d2bf1004a9dc39976e4a31abc9c (diff)
downloadSCons-8526ba0bb9938ddf3ceca8ca917c77f7b1505f55.zip
SCons-8526ba0bb9938ddf3ceca8ca917c77f7b1505f55.tar.gz
SCons-8526ba0bb9938ddf3ceca8ca917c77f7b1505f55.tar.bz2
Fix Export(), add Import() and Return()
Diffstat (limited to 'test/Depends.py')
-rw-r--r--test/Depends.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Depends.py b/test/Depends.py
index ab045ae..1ccf7f4 100644
--- a/test/Depends.py
+++ b/test/Depends.py
@@ -52,10 +52,11 @@ env.Depends(target = 'f3.out', dependency = 'subdir/bar.dep')
env.Foo(target = 'f1.out', source = 'f1.in')
env.Foo(target = 'f2.out', source = 'f2.in')
env.Bar(target = 'f3.out', source = 'f3.in')
-SConscript('subdir/SConscript', Export(env=env))
+SConscript('subdir/SConscript', "env")
""" % (python, python))
test.write(['subdir', 'SConscript'], """
+Import("env")
env.Depends(target = 'f4.out', dependency = 'bar.dep')
env.Bar(target = 'f4.out', source = 'f4.in')
""")