summaryrefslogtreecommitdiffstats
path: root/test/option/debug-memoizer.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2018-09-26 18:03:34 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2018-09-26 18:03:34 (GMT)
commitdb67204cfdb270dbc08f36813e20c0a41c225b25 (patch)
tree60c3a7ec077325d4656b557474d2fd763fa1c6d0 /test/option/debug-memoizer.py
parent8fca42cbacd48d6f832721363813d9b3d1e3163d (diff)
downloadSCons-db67204cfdb270dbc08f36813e20c0a41c225b25.zip
SCons-db67204cfdb270dbc08f36813e20c0a41c225b25.tar.gz
SCons-db67204cfdb270dbc08f36813e20c0a41c225b25.tar.bz2
Speed up option tests for windows
Diffstat (limited to 'test/option/debug-memoizer.py')
-rw-r--r--test/option/debug-memoizer.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/option/debug-memoizer.py b/test/option/debug-memoizer.py
index 222ba67..f65bcb8 100644
--- a/test/option/debug-memoizer.py
+++ b/test/option/debug-memoizer.py
@@ -36,9 +36,10 @@ test = TestSCons.TestSCons(match = TestSCons.match_re_dotall)
test.write('SConstruct', """
+DefaultEnvironment(tools=[])
def cat(target, source, env):
open(str(target[0]), 'wb').write(open(str(source[0]), 'rb').read())
-env = Environment(BUILDERS={'Cat':Builder(action=Action(cat))})
+env = Environment(tools=[], BUILDERS={'Cat':Builder(action=Action(cat))})
env.Cat('file.out', 'file.in')
""")