diff options
author | Gary Oberbrunner <garyo@oberbrunner.com> | 2012-04-07 19:00:37 -0400 |
---|---|---|
committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2012-04-07 19:00:37 -0400 |
commit | 688a4aac959f6b481bf77cb2278b1accbfe24b14 (patch) | |
tree | 6df7eb16b5a5faf7c5158136064ea545acb78a63 /test/explain | |
parent | 5106147a9762cd79cd1220aec0182ec1e46daad7 (diff) | |
download | scons-688a4aac959f6b481bf77cb2278b1accbfe24b14.tar.gz |
Fix test failures in test/explain/basic.py on Windows due to drive-name case problems (C: vs. c:)
Added new test match function, match_caseinsensitive to handle this and
probably other similar cases.
Diffstat (limited to 'test/explain')
-rw-r--r-- | test/explain/basic.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/explain/basic.py b/test/explain/basic.py index bca84364..1f0a16c7 100644 --- a/test/explain/basic.py +++ b/test/explain/basic.py @@ -305,7 +305,9 @@ scons: rebuilding `file3' because `zzz' is a new dependency %(_python_)s %(cat_py)s file3 xxx yyy zzz """ % locals()) +test.set_match_function(TestSCons.match_caseinsensitive) test.run(chdir='src', arguments=args, stdout=expect) +test.set_match_function(TestSCons.match_exact) test.must_match(['src', 'file3'], "xxx 1\nyyy 2\nzzz 2\n") |