summaryrefslogtreecommitdiff
path: root/test/scons-time
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-12 21:57:14 -0400
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-12 21:57:14 -0400
commit89f322036dd77e2be055f4361559dcb7f0122d8a (patch)
tree77c37bee331bcb060ca74d7dbf3ff3dbd38befbb /test/scons-time
parent726c1d220bf55fb439270648446e200edeaed46a (diff)
downloadscons-89f322036dd77e2be055f4361559dcb7f0122d8a.tar.gz
fix must_match mode='r'
Diffstat (limited to 'test/scons-time')
-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 26609272..07347306 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 0c8b6434..b782e839 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 70feb70a..d0592b61 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 71d8ca2b..e2479c3b 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()