summaryrefslogtreecommitdiffstats
path: root/test/toolpath.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-10-07 19:41:27 (GMT)
committerSteven Knight <knight@baldmt.com>2004-10-07 19:41:27 (GMT)
commite415935530be28fa1a12f6fd7ed3dd6c4f9badec (patch)
tree66fbe2e9b51aa6d174c11fc80b98ced77b95ae15 /test/toolpath.py
parent82d73dc73c654ef132698b3a77cd3733b359d259 (diff)
downloadSCons-e415935530be28fa1a12f6fd7ed3dd6c4f9badec.zip
SCons-e415935530be28fa1a12f6fd7ed3dd6c4f9badec.tar.gz
SCons-e415935530be28fa1a12f6fd7ed3dd6c4f9badec.tar.bz2
Allow importing local files from Tools found on a toolpath. (Chad Austin)
Diffstat (limited to 'test/toolpath.py')
-rw-r--r--test/toolpath.py9
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"""\