Index: test/cctest/SConscript |
diff --git a/test/cctest/SConscript b/test/cctest/SConscript |
index 0197178cf2b8089455475206104653c8dcbb5230..c3614b65413b244763ac1a8ff6610403701c2d68 100644 |
--- a/test/cctest/SConscript |
+++ b/test/cctest/SConscript |
@@ -29,7 +29,7 @@ import sys |
from os.path import join, dirname, abspath |
root_dir = dirname(File('SConstruct').rfile().abspath) |
sys.path.append(join(root_dir, 'tools')) |
-Import('context object_files') |
+Import('context object_files tools') |
SOURCES = { |
@@ -107,7 +107,7 @@ SOURCES = { |
def Build(): |
cctest_files = context.GetRelevantSources(SOURCES) |
- env = Environment() |
+ env = Environment(tools=tools) |
env.Replace(**context.flags['cctest']) |
context.ApplyEnvOverrides(env) |
# There seems to be a glitch in the way scons decides where to put |