summaryrefslogtreecommitdiffstats
path: root/test/Depends.py
diff options
context:
space:
mode:
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')
""")