summaryrefslogtreecommitdiffstats
path: root/test/scons-time
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2009-07-24 16:30:08 (GMT)
committerSteven Knight <knight@baldmt.com>2009-07-24 16:30:08 (GMT)
commitf1ac141da175ed8939044f9a55146980cf4634a8 (patch)
treef5b5919c4ab0244fefb6cde50eac274455c1a895 /test/scons-time
parent10dc447016536d663d6031edc04e09cc50948130 (diff)
downloadSCons-f1ac141da175ed8939044f9a55146980cf4634a8.zip
SCons-f1ac141da175ed8939044f9a55146980cf4634a8.tar.gz
SCons-f1ac141da175ed8939044f9a55146980cf4634a8.tar.bz2
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 58b5e82..2910e8e 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 8b0be4a..7f693d1 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'))