summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2015-02-17 00:27:30 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2015-02-17 00:27:30 (GMT)
commit9e2a7c517ef3bc6776227ced814b0635dae0f724 (patch)
treec73295fc775bc5cf6cbe1e9ef2bb7e060ed1baa6 /test
parent5578d065b9c68ba3f5a443f3b42f628e9cba600b (diff)
downloadSCons-9e2a7c517ef3bc6776227ced814b0635dae0f724.zip
SCons-9e2a7c517ef3bc6776227ced814b0635dae0f724.tar.gz
SCons-9e2a7c517ef3bc6776227ced814b0635dae0f724.tar.bz2
fix test/site_scons/override.py which was failing only on Win32. loading the m4 tool was excluded in src/engine/SCons/Tool/__init__.py in tool_list(). So I've explicitly created the Environment() loading only the m4 tool. This test is checking to see if a tool in site_scons/site_tools would override the default logic.
Diffstat (limited to 'test')
-rw-r--r--test/site_scons/override.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/site_scons/override.py b/test/site_scons/override.py
index ad03eae..e33bb88 100644
--- a/test/site_scons/override.py
+++ b/test/site_scons/override.py
@@ -48,7 +48,7 @@ def exists(env):
""")
test.write('SConstruct', """
-e=Environment()
+e=Environment(tools=['m4'])
print e.subst('M4 is $M4, M4_MINE is $M4_MINE')
""")
test.run(arguments = '-Q .',