| Index: webkit/tools/layout_tests/test_types/simplified_text_diff.py
|
| ===================================================================
|
| --- webkit/tools/layout_tests/test_types/simplified_text_diff.py (revision 5432)
|
| +++ webkit/tools/layout_tests/test_types/simplified_text_diff.py (working copy)
|
| @@ -83,7 +83,7 @@
|
|
|
| return text
|
|
|
| - def CompareOutput(self, filename, proc, output, unused_test_args):
|
| + def CompareOutput(self, filename, proc, output, test_args):
|
| """Implementation of CompareOutput that removes most numbers before
|
| computing the diff.
|
|
|
| @@ -92,6 +92,10 @@
|
| """
|
| failures = []
|
|
|
| + # If we're generating a new baseline, we pass.
|
| + if test_args.new_baseline:
|
| + return failures
|
| +
|
| # Normalize text to diff
|
| output = self.GetNormalizedOutputText(output)
|
| # The full text diff already gave the result file if requested, so we'll
|
|
|