summaryrefslogtreecommitdiff
path: root/test/AR
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-13 23:07:10 -0400
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-13 23:07:10 -0400
commitdc086e8b9faff16883edfe4b3a8f6bb5e685a2a3 (patch)
tree41e70391cb38e33f949d88c517f1e10327c3de6a /test/AR
parentd1203e76ed03ad31618a8cf23169358a1534448b (diff)
downloadscons-dc086e8b9faff16883edfe4b3a8f6bb5e685a2a3.tar.gz
py2/3 add mode='r' to must_match. Should fix some win32 failures
Diffstat (limited to 'test/AR')
-rw-r--r--test/AR/AR.py2
-rw-r--r--test/AR/ARFLAGS.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/AR/AR.py b/test/AR/AR.py
index 11687d96..552b8277 100644
--- a/test/AR/AR.py
+++ b/test/AR/AR.py
@@ -95,7 +95,7 @@ test.run(arguments = 'b' + _exe,
stderr=TestSCons.noisy_ar,
match=TestSCons.match_re_dotall)
-test.must_match('wrapper.out', 'wrapper.py\n')
+test.must_match('wrapper.out', 'wrapper.py\n', mode='r')
test.pass_test()
diff --git a/test/AR/ARFLAGS.py b/test/AR/ARFLAGS.py
index 2d907526..2aa1a14b 100644
--- a/test/AR/ARFLAGS.py
+++ b/test/AR/ARFLAGS.py
@@ -94,7 +94,7 @@ test.run(arguments = 'b' + _exe,
stderr=TestSCons.noisy_ar,
match=TestSCons.match_re_dotall)
-test.must_match('wrapper.out', 'wrapper.py\n')
+test.must_match('wrapper.out', 'wrapper.py\n', mode='r')
test.pass_test()