summaryrefslogtreecommitdiffstats
path: root/test/option-n.py
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/option-n.py
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/option-n.py')
-rw-r--r--test/option-n.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/option-n.py b/test/option-n.py
index abb0284..b8dde0f 100644
--- a/test/option-n.py
+++ b/test/option-n.py
@@ -168,7 +168,8 @@ test.fail_test(os.path.exists(test.workpath('build', 'f4.in')))
# test Configure-calls in conjunction with -n
test.subdir('configure')
-test.match_func = TestSCons.match_re_dotall
+test.match_function = TestSCons.match_re_dotall
+test.diff_function = TestSCons.diff_re
test.write('configure/SConstruct',
"""def CustomTest(context):
def userAction(target,source,env):