summaryrefslogtreecommitdiff
path: root/test/scons-time
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2009-07-24 16:30:08 +0000
committerSteven Knight <knight@baldmt.com>2009-07-24 16:30:08 +0000
commit685d3bf29c701777b56ac75afcbdc649d4f8d5c5 (patch)
treef5b5919c4ab0244fefb6cde50eac274455c1a895 /test/scons-time
parent106196aa28c57a3f99d4019d444d1ecabe8bc9d7 (diff)
downloadscons-685d3bf29c701777b56ac75afcbdc649d4f8d5c5.tar.gz
Update the Test{Cmd,Common}.py 0.36, with better diff reporting
(specifically of output matches using regular expressions). Update tests for corresponding inteface changes. Add use of diff_re() to test/sconsign/script/Configure.py so we can get accurate information about its buildbot failure.
Diffstat (limited to 'test/scons-time')
-rw-r--r--test/scons-time/run/option/quiet.py4
-rw-r--r--test/scons-time/run/option/verbose.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/scons-time/run/option/quiet.py b/test/scons-time/run/option/quiet.py
index 58b5e823..2910e8e8 100644
--- a/test/scons-time/run/option/quiet.py
+++ b/test/scons-time/run/option/quiet.py
@@ -34,8 +34,8 @@ import TestSCons_time
python = TestSCons_time.python
-test = TestSCons_time.TestSCons_time(match = TestSCons_time.match_re)
-test.diff_function = TestSCons_time.diff_re
+test = TestSCons_time.TestSCons_time(match = TestSCons_time.match_re,
+ diff = TestSCons_time.diff_re)
scons_py = re.escape(test.workpath('src', 'script', 'scons.py'))
src_engine = re.escape(test.workpath('src', 'engine'))
diff --git a/test/scons-time/run/option/verbose.py b/test/scons-time/run/option/verbose.py
index 8b0be4ad..7f693d11 100644
--- a/test/scons-time/run/option/verbose.py
+++ b/test/scons-time/run/option/verbose.py
@@ -35,8 +35,8 @@ import TestSCons_time
_python_ = re.escape(TestSCons_time._python_)
-test = TestSCons_time.TestSCons_time(match = TestSCons_time.match_re)
-test.diff_function = TestSCons_time.diff_re
+test = TestSCons_time.TestSCons_time(match = TestSCons_time.match_re,
+ diff = TestSCons_time.diff_re)
scons_py = re.escape(test.workpath('src', 'script', 'scons.py'))
src_engine = re.escape(test.workpath('src', 'engine'))