diff options
Diffstat (limited to 'webkit/tools')
-rw-r--r-- | webkit/tools/layout_tests/layout_package/test_expectations.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/webkit/tools/layout_tests/layout_package/test_expectations.py b/webkit/tools/layout_tests/layout_package/test_expectations.py index b94650c..5f98d8d 100644 --- a/webkit/tools/layout_tests/layout_package/test_expectations.py +++ b/webkit/tools/layout_tests/layout_package/test_expectations.py @@ -234,6 +234,7 @@ class TestExpectationsFile: """ self._path = path + self._is_lint_mode = full_test_list is None self._full_test_list = full_test_list self._errors = [] self._non_fatal_errors = [] @@ -469,6 +470,10 @@ class TestExpectationsFile: self._AddError(lineno, 'Test cannot be both DEFER and WONTFIX.', test_and_expectations) + if self._is_lint_mode and 'rebaseline' in options: + self._AddError(lineno, 'REBASELINE should only be used for running' + 'rebaseline.py. Cannot be checked in.', test_and_expectations) + return True def _MatchPlatform(self, options): |