diff options
author | William Deegan <bill@baddogconsulting.com> | 2018-09-26 03:10:22 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2018-09-26 03:10:22 (GMT) |
commit | 0196c818e85949922479a437717b15f710173cef (patch) | |
tree | 3d92d255e2c0dda1f140e4e0a8501c7504e68ab0 | |
parent | e3a56e698a663c309d42d56e1064077d4c5de602 (diff) | |
download | SCons-0196c818e85949922479a437717b15f710173cef.zip SCons-0196c818e85949922479a437717b15f710173cef.tar.gz SCons-0196c818e85949922479a437717b15f710173cef.tar.bz2 |
Speedup Clean tests for windows
-rw-r--r-- | test/Clean/Option.py | 3 | ||||
-rw-r--r-- | test/Clean/basic.py | 3 | ||||
-rw-r--r-- | test/Clean/function.py | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/test/Clean/Option.py b/test/Clean/Option.py index 6264428..f49c226 100644 --- a/test/Clean/Option.py +++ b/test/Clean/Option.py @@ -46,8 +46,9 @@ file.close() """) test.write('SConstruct', """ +DefaultEnvironment(tools=[]) B = Builder(action = r'%(_python_)s build.py $TARGETS $SOURCES') -env = Environment(BUILDERS = { 'B' : B }) +env = Environment(tools=[], BUILDERS = { 'B' : B }) env.B(target = 'foo.out', source = 'foo.in') mode = ARGUMENTS.get('MODE') diff --git a/test/Clean/basic.py b/test/Clean/basic.py index 7c4730e..e9f0540 100644 --- a/test/Clean/basic.py +++ b/test/Clean/basic.py @@ -45,8 +45,9 @@ file.close() """) test.write('SConstruct', """ +DefaultEnvironment(tools=[]) B = Builder(action = r'%(_python_)s build.py $TARGETS $SOURCES') -env = Environment(BUILDERS = { 'B' : B }) +env = Environment(tools=[], BUILDERS = { 'B' : B }) env.B(target = 'foo1.out', source = 'foo1.in') env.B(target = 'foo2.out', source = 'foo2.xxx') env.B(target = 'foo2.xxx', source = 'foo2.in') diff --git a/test/Clean/function.py b/test/Clean/function.py index aa53a35..7ddf727 100644 --- a/test/Clean/function.py +++ b/test/Clean/function.py @@ -51,8 +51,9 @@ subd_foon_in = os.path.join('subd', 'foon.in') subd_foox_in = os.path.join('subd', 'foox.in') test.write('SConstruct', """ +DefaultEnvironment(tools=[]) B = Builder(action = r'%(_python_)s build.py $TARGETS $SOURCES') -env = Environment(BUILDERS = { 'B' : B }, FOO = 'foo2') +env = Environment(tools=[], BUILDERS = { 'B' : B }, FOO = 'foo2') env.B(target = 'foo1.out', source = 'foo1.in') env.B(target = 'foo2.out', source = 'foo2.xxx') foo2_xxx = env.B(target = 'foo2.xxx', source = 'foo2.in') |