diff options
author | Gary Oberbrunner <garyo@oberbrunner.com> | 2012-04-07 23:00:37 (GMT) |
---|---|---|
committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2012-04-07 23:00:37 (GMT) |
commit | ee869fcc10bfd903b37606f45d324d7c5428f67e (patch) | |
tree | 6df7eb16b5a5faf7c5158136064ea545acb78a63 /test/explain/basic.py | |
parent | bd7d123c420fb580b8339c976fec607ff93bfd8e (diff) | |
download | SCons-ee869fcc10bfd903b37606f45d324d7c5428f67e.zip SCons-ee869fcc10bfd903b37606f45d324d7c5428f67e.tar.gz SCons-ee869fcc10bfd903b37606f45d324d7c5428f67e.tar.bz2 |
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/basic.py')
-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 bca8436..1f0a16c 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") |