From c18ff7c41334123ae82fc641eb62c258847f9f5f Mon Sep 17 00:00:00 2001 From: William Deegan Date: Sun, 12 Mar 2017 21:57:14 -0400 Subject: fix must_match mode='r' --- test/scons-time/run/config/python.py | 6 +++--- test/scons-time/run/config/scons.py | 6 +++--- test/scons-time/run/option/python.py | 6 +++--- test/scons-time/run/option/scons.py | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/test/scons-time/run/config/python.py b/test/scons-time/run/config/python.py index 2660927..0734730 100644 --- a/test/scons-time/run/config/python.py +++ b/test/scons-time/run/config/python.py @@ -62,9 +62,9 @@ prof0 = test.workpath('foo-000-0.prof') prof1 = test.workpath('foo-000-1.prof') prof2 = test.workpath('foo-000-2.prof') -test.must_match('foo-000-0.log', "my_python.py: %s\n" % prof0) -test.must_match('foo-000-1.log', "my_python.py: %s\n" % prof1) -test.must_match('foo-000-2.log', "my_python.py: %s\n" % prof2) +test.must_match('foo-000-0.log', "my_python.py: %s\n" % prof0, mode='r') +test.must_match('foo-000-1.log', "my_python.py: %s\n" % prof1, mode='r') +test.must_match('foo-000-2.log', "my_python.py: %s\n" % prof2, mode='r') test.pass_test() diff --git a/test/scons-time/run/config/scons.py b/test/scons-time/run/config/scons.py index 0c8b643..b782e83 100644 --- a/test/scons-time/run/config/scons.py +++ b/test/scons-time/run/config/scons.py @@ -58,9 +58,9 @@ prof0 = test.workpath('foo-000-0.prof') prof1 = test.workpath('foo-000-1.prof') prof2 = test.workpath('foo-000-2.prof') -test.must_match('foo-000-0.log', "my_scons.py: %s\n" % prof0) -test.must_match('foo-000-1.log', "my_scons.py: %s\n" % prof1) -test.must_match('foo-000-2.log', "my_scons.py: %s\n" % prof2) +test.must_match('foo-000-0.log', "my_scons.py: %s\n" % prof0, mode='r') +test.must_match('foo-000-1.log', "my_scons.py: %s\n" % prof1, mode='r') +test.must_match('foo-000-2.log', "my_scons.py: %s\n" % prof2, mode='r') test.pass_test() diff --git a/test/scons-time/run/option/python.py b/test/scons-time/run/option/python.py index 70feb70..d0592b6 100644 --- a/test/scons-time/run/option/python.py +++ b/test/scons-time/run/option/python.py @@ -57,9 +57,9 @@ prof0 = test.workpath('foo-000-0.prof') prof1 = test.workpath('foo-000-1.prof') prof2 = test.workpath('foo-000-2.prof') -test.must_match('foo-000-0.log', "my_python.py: %s\n" % prof0) -test.must_match('foo-000-1.log', "my_python.py: %s\n" % prof1) -test.must_match('foo-000-2.log', "my_python.py: %s\n" % prof2) +test.must_match('foo-000-0.log', "my_python.py: %s\n" % prof0, mode='r') +test.must_match('foo-000-1.log', "my_python.py: %s\n" % prof1, mode='r') +test.must_match('foo-000-2.log', "my_python.py: %s\n" % prof2, mode='r') test.pass_test() diff --git a/test/scons-time/run/option/scons.py b/test/scons-time/run/option/scons.py index 71d8ca2..e2479c3 100644 --- a/test/scons-time/run/option/scons.py +++ b/test/scons-time/run/option/scons.py @@ -52,9 +52,9 @@ prof0 = test.workpath('foo-000-0.prof') prof1 = test.workpath('foo-000-1.prof') prof2 = test.workpath('foo-000-2.prof') -test.must_match('foo-000-0.log', "my_scons.py: %s\n" % prof0) -test.must_match('foo-000-1.log', "my_scons.py: %s\n" % prof1) -test.must_match('foo-000-2.log', "my_scons.py: %s\n" % prof2) +test.must_match('foo-000-0.log', "my_scons.py: %s\n" % prof0, mode='r') +test.must_match('foo-000-1.log', "my_scons.py: %s\n" % prof1, mode='r') +test.must_match('foo-000-2.log', "my_scons.py: %s\n" % prof2, mode='r') test.pass_test() -- cgit v0.12