summaryrefslogtreecommitdiffstats
path: root/test/scan-once.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-04-25 01:26:28 (GMT)
committerSteven Knight <knight@baldmt.com>2003-04-25 01:26:28 (GMT)
commitdbb26a739bda888c1b7e206dbf6753ebadc68ebc (patch)
tree9e985a4b46be25083a7335a755e7449af566cf52 /test/scan-once.py
parentdb7e2b9bef087394fd3ce603e75231dec7f2eca4 (diff)
downloadSCons-dbb26a739bda888c1b7e206dbf6753ebadc68ebc.zip
SCons-dbb26a739bda888c1b7e206dbf6753ebadc68ebc.tar.gz
SCons-dbb26a739bda888c1b7e206dbf6753ebadc68ebc.tar.bz2
Fix test/scan-once.py for the recent Export change.
Diffstat (limited to 'test/scan-once.py')
-rw-r--r--test/scan-once.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/scan-once.py b/test/scan-once.py
index ffd379b..ba147cf 100644
--- a/test/scan-once.py
+++ b/test/scan-once.py
@@ -160,7 +160,7 @@ Mylib.AddLibDirs(env, "/via/Mylib.AddLibPath")
env.Append(LIBPATH = [e["EXPORT_LIB"]])
env.Append(LIBPATH = [e["REF_LIB"]])
-Mylib.Subdirs("src")
+Mylib.Subdirs(env, "src")
""" % test.workpath('SLF'))
test.write(['SLF', 'Mylib.py'], """\
@@ -170,7 +170,7 @@ import re
import SCons.Environment
import SCons.Script.SConscript
-def Subdirs(dirlist):
+def Subdirs(env, dirlist):
for file in _subconf_list(dirlist):
SCons.Script.SConscript.SConscript(file, "env")
@@ -262,8 +262,8 @@ Import("env")
#env = env.Copy() # Yes, clobber intentionally
#Make environment changes, such as: Mylib.AddCFlags(env, "-g -D_TEST")
-#Mylib.Subdirs("lib_a lib_b lib_mergej prog_x")
-Mylib.Subdirs("lib_geng")
+#Mylib.Subdirs(env, "lib_a lib_b lib_mergej prog_x")
+Mylib.Subdirs(env, "lib_geng")
env = env.Copy() # Yes, clobber intentionally
# --- End SConscript boilerplate ---
@@ -279,7 +279,7 @@ Import("env")
#env = env.Copy() # Yes, clobber intentionally
#Make environment changes, such as: Mylib.AddCFlags(env, "-g -D_TEST")
-#Mylib.Subdirs("foo_dir")
+#Mylib.Subdirs(env, "foo_dir")
env = env.Copy() # Yes, clobber intentionally
# --- End SConscript boilerplate ---