Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: webkit/tools/layout_tests/webkitpy/layout_package/test_expectations.py

Issue 545145: Move the layout test scripts into a 'webkitpy' subdirectory in preparation... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: try to de-confuse svn and the try bots Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """A helper class for reading in and dealing with tests expectations 5 """A helper class for reading in and dealing with tests expectations
6 for layout tests. 6 for layout tests.
7 """ 7 """
8 8
9 import logging 9 import logging
10 import os 10 import os
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after
774 def _AddError(self, lineno, msg, path): 774 def _AddError(self, lineno, msg, path):
775 """Reports an error that will prevent running the tests. Does not 775 """Reports an error that will prevent running the tests. Does not
776 immediately raise an exception because we'd like to aggregate all the 776 immediately raise an exception because we'd like to aggregate all the
777 errors so they can all be printed out.""" 777 errors so they can all be printed out."""
778 self._errors.append('\nLine:%s %s %s' % (lineno, msg, path)) 778 self._errors.append('\nLine:%s %s %s' % (lineno, msg, path))
779 779
780 def _LogNonFatalError(self, lineno, msg, path): 780 def _LogNonFatalError(self, lineno, msg, path):
781 """Reports an error that will not prevent running the tests. These are 781 """Reports an error that will not prevent running the tests. These are
782 still errors, but not bad enough to warrant breaking test running.""" 782 still errors, but not bad enough to warrant breaking test running."""
783 self._non_fatal_errors.append('Line:%s %s %s' % (lineno, msg, path)) 783 self._non_fatal_errors.append('Line:%s %s %s' % (lineno, msg, path))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698