summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-13 01:57:14 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-13 01:57:14 (GMT)
commitc18ff7c41334123ae82fc641eb62c258847f9f5f (patch)
tree77c37bee331bcb060ca74d7dbf3ff3dbd38befbb /test
parentb895d0ec04017a7e276d0643465d1866a72e4605 (diff)
downloadSCons-c18ff7c41334123ae82fc641eb62c258847f9f5f.zip
SCons-c18ff7c41334123ae82fc641eb62c258847f9f5f.tar.gz
SCons-c18ff7c41334123ae82fc641eb62c258847f9f5f.tar.bz2
fix must_match mode='r'
Diffstat (limited to 'test')
-rw-r--r--test/scons-time/run/config/python.py6
-rw-r--r--test/scons-time/run/config/scons.py6
-rw-r--r--test/scons-time/run/option/python.py6
-rw-r--r--test/scons-time/run/option/scons.py6
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()