diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-03-14 03:24:15 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-03-14 03:24:15 (GMT) |
commit | 2da21594f9468283525c27992eb8565d3473841b (patch) | |
tree | 96f6919e6a664a4268777ca6d9b1ebdcf34396da /test/CXX | |
parent | 496d5d4655ec5eaaf5f47b70a0a5e9f08a310ff3 (diff) | |
download | SCons-2da21594f9468283525c27992eb8565d3473841b.zip SCons-2da21594f9468283525c27992eb8565d3473841b.tar.gz SCons-2da21594f9468283525c27992eb8565d3473841b.tar.bz2 |
py2/3 add mode=r to must_match to fix win32 py27,py3
Diffstat (limited to 'test/CXX')
-rw-r--r-- | test/CXX/CXX.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CXX/CXX.py b/test/CXX/CXX.py index 83c4285..abccf1e 100644 --- a/test/CXX/CXX.py +++ b/test/CXX/CXX.py @@ -178,7 +178,7 @@ env.Program(target = 'test6', source = 'test6.C') test.run(arguments = '.', stderr = None) - test.must_match('test6' + _exe, "This is a .C file.\n") + test.must_match('test6' + _exe, "This is a .C file.\n", mode='r') @@ -224,7 +224,7 @@ test.must_not_exist(test.workpath('wrapper.out')) test.run(arguments = 'bar' + _exe) -test.must_match('wrapper.out', "wrapper.py\n") +test.must_match('wrapper.out', "wrapper.py\n", mode='r') test.pass_test() |