diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-03-12 18:39:53 -0400 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-03-12 18:39:53 -0400 |
commit | 8bbebd78a9c00d713f3b53d5e3bbd1df28cb2e74 (patch) | |
tree | 91f840f1c513ee1041ad3464bc29ece47b203f5d /test/subdivide.py | |
parent | fac6a93b2fef46b7f0e66caf0dc4cc98d27fa2fb (diff) | |
download | scons-git-8bbebd78a9c00d713f3b53d5e3bbd1df28cb2e74.tar.gz |
py2/3 fix mode=r for must_match to fix win32
Diffstat (limited to 'test/subdivide.py')
-rw-r--r-- | test/subdivide.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/subdivide.py b/test/subdivide.py index 770870dd5..8c8eff029 100644 --- a/test/subdivide.py +++ b/test/subdivide.py @@ -80,6 +80,7 @@ test.chmod(fake_cc_py, 0o755) test.chmod(fake_link_py, 0o755) test.write('SConstruct', """\ +DefaultEnvironment(tools=[]) SConsignFile(None) env = Environment(PROGSUFFIX = '.exe', OBJSUFFIX = '.obj', @@ -91,6 +92,7 @@ env.Object('foo.c') """ % locals()) test.write(['src', 'SConstruct'], """\ +DefaultEnvironment(tools=[]) SConsignFile(None) env = Environment(PROGSUFFIX = '.exe', OBJSUFFIX = '.obj', @@ -134,7 +136,7 @@ src/sub/bar.c if os.sep == '\\': expect = expect.replace('\\', '\\\\') -test.must_match(['src', 'prog.exe'], expect) +test.must_match(['src', 'prog.exe'], expect, mode='r') test.up_to_date(chdir='src', arguments = test.workpath()) |