summaryrefslogtreecommitdiffstats
path: root/test/LIBS.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-10-07 23:50:06 (GMT)
committerSteven Knight <knight@baldmt.com>2002-10-07 23:50:06 (GMT)
commitbbdf3e20a90dabfe9944bfc58e6756cf799df7e9 (patch)
tree6bfa44d8dd2407ce2973a3b688860629accc0e50 /test/LIBS.py
parentbdf39335f8eff310c749fa5a9d08697aa81a003b (diff)
downloadSCons-bbdf3e20a90dabfe9944bfc58e6756cf799df7e9.zip
SCons-bbdf3e20a90dabfe9944bfc58e6756cf799df7e9.tar.gz
SCons-bbdf3e20a90dabfe9944bfc58e6756cf799df7e9.tar.bz2
Get rid of the magicness of the magic _ variables. (Anthony Roach)
Diffstat (limited to 'test/LIBS.py')
-rw-r--r--test/LIBS.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/LIBS.py b/test/LIBS.py
index 0933d6f..b9fb275 100644
--- a/test/LIBS.py
+++ b/test/LIBS.py
@@ -102,8 +102,8 @@ test.run(program=foo_exe, stdout='sub1/bar.c\nsub1/baz.c\n')
#
test.write('SConstruct', """
-env = Environment(LIBS='baz bar', LIBPATH = '.')
-env.Program(target='foo', source='foo.c')
+env = Environment()
+env.Program(target='foo', source='foo.c', LIBS=['baz', 'bar'], LIBPATH = '.')
SConscript('sub1/SConscript', 'env')
SConscript('sub2/SConscript', 'env')
""")
@@ -125,3 +125,6 @@ test.run(arguments = '.')
test.run(program=foo_exe, stdout='sub1/bar.c\nsub1/baz.c\n')
test.pass_test()
+
+
+