diff options
author | Steven Knight <knight@baldmt.com> | 2002-04-16 12:30:36 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-04-16 12:30:36 (GMT) |
commit | 42ed072377b5d6d3735abb0b3d0f61e7941879c7 (patch) | |
tree | 5f2005485f08072f7065bd24259461c1d87bf186 /test/SConscript.py | |
parent | 0331e6f13472a35aedb7e61db4ab8219e464bed2 (diff) | |
download | SCons-42ed072377b5d6d3735abb0b3d0f61e7941879c7.zip SCons-42ed072377b5d6d3735abb0b3d0f61e7941879c7.tar.gz SCons-42ed072377b5d6d3735abb0b3d0f61e7941879c7.tar.bz2 |
Fix importing of modules from the SConscript directory (Anthony Roach)
Diffstat (limited to 'test/SConscript.py')
-rw-r--r-- | test/SConscript.py | 6 |
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') |