From 98c03d901cb4b9aa6ee80ab13888477a4cc3637e Mon Sep 17 00:00:00 2001 From: William Deegan Date: Tue, 25 Sep 2018 17:16:34 -0700 Subject: Change so DefaultEnvironment and Enviroment don't initialize any tools to speed up test on windows --- test/Depends/Depends.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/Depends/Depends.py b/test/Depends/Depends.py index 6804fd0..054b9a1 100644 --- a/test/Depends/Depends.py +++ b/test/Depends/Depends.py @@ -51,9 +51,10 @@ SUBDIR_foo_dep = os.path.join('$SUBDIR', 'foo.dep') SUBDIR_f3_out = os.path.join('$SUBDIR', 'f3.out') test.write('SConstruct', """ +DefaultEnvironment(tools=[]) Foo = Builder(action = r'%(_python_)s build.py $TARGET $SOURCES subdir/foo.dep') Bar = Builder(action = r'%(_python_)s build.py $TARGET $SOURCES subdir/bar.dep') -env = Environment(BUILDERS = { 'Foo' : Foo, 'Bar' : Bar }, SUBDIR='subdir') +env = Environment(tools=[], BUILDERS = { 'Foo' : Foo, 'Bar' : Bar }, SUBDIR='subdir') env.Depends(target = ['f1.out', 'f2.out'], dependency = r'%(SUBDIR_foo_dep)s') env.Depends(target = r'%(SUBDIR_f3_out)s', dependency = 'subdir/bar.dep') env.Foo(target = 'f1.out', source = 'f1.in') -- cgit v0.12