diff options
| author | Steven Knight <knight@baldmt.com> | 2004-10-07 19:41:27 (GMT) |
|---|---|---|
| committer | Steven Knight <knight@baldmt.com> | 2004-10-07 19:41:27 (GMT) |
| commit | ef5302e42b97cc6afabc1cb8390fe3d683dc5d81 (patch) | |
| tree | 66fbe2e9b51aa6d174c11fc80b98ced77b95ae15 /test | |
| parent | 1a5adfd67ec02f9a2fdfa8a2da87dc7266759114 (diff) | |
| download | SCons-ef5302e42b97cc6afabc1cb8390fe3d683dc5d81.zip SCons-ef5302e42b97cc6afabc1cb8390fe3d683dc5d81.tar.gz SCons-ef5302e42b97cc6afabc1cb8390fe3d683dc5d81.tar.bz2 | |
Allow importing local files from Tools found on a toolpath. (Chad Austin)
Diffstat (limited to 'test')
| -rw-r--r-- | test/toolpath.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/toolpath.py b/test/toolpath.py index da9f585..797f345 100644 --- a/test/toolpath.py +++ b/test/toolpath.py @@ -98,11 +98,16 @@ def exists(env): test.subdir('tools') +test.write(['tools', 'Common.py'], r"""\ +One = 1 +""") + test.write(['tools', 'SCCS.py'], r"""\ +import Common def generate(env): - env['TOOL_SCCS2'] = 1 + env['TOOL_SCCS2'] = Common.One def exists(env): - return 1 + return Common.One """) test.write(['tools', 'bar.py'], r"""\ |
