summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-04-16 12:30:36 (GMT)
committerSteven Knight <knight@baldmt.com>2002-04-16 12:30:36 (GMT)
commit42ed072377b5d6d3735abb0b3d0f61e7941879c7 (patch)
tree5f2005485f08072f7065bd24259461c1d87bf186 /test
parent0331e6f13472a35aedb7e61db4ab8219e464bed2 (diff)
downloadSCons-42ed072377b5d6d3735abb0b3d0f61e7941879c7.zip
SCons-42ed072377b5d6d3735abb0b3d0f61e7941879c7.tar.gz
SCons-42ed072377b5d6d3735abb0b3d0f61e7941879c7.tar.bz2
Fix importing of modules from the SConscript directory (Anthony Roach)
Diffstat (limited to 'test')
-rw-r--r--test/SConscript.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/SConscript.py b/test/SConscript.py
index d9c7748..0062be6 100644
--- a/test/SConscript.py
+++ b/test/SConscript.py
@@ -28,8 +28,14 @@ import TestSCons
test = TestSCons.TestSCons()
+test.write('foo.py', """
+foo = 4""")
+
test.write('SConstruct', """
import os
+import foo
+
+assert foo.foo == 4
print "SConstruct", os.getcwd()
SConscript('SConscript')