Index: Tools/Scripts/webkitpy/layout_tests/controllers/manager.py |
diff --git a/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py b/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py |
index fbbeda272767c9edc703dde0bfa7eb069bbbc2cb..59b0f9b46ab383d212a16cc8058ad5a7890d90ed 100644 |
--- a/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py |
+++ b/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py |
@@ -139,12 +139,11 @@ class Manager(object): |
return self._is_http_test(test_file) or self._is_perf_test(test_file) |
def _test_is_expected_missing(self, test_file): |
- return (self._expectations.model().has_keyword(test_file, test_expectations.MISSING_KEYWORD) |
- or self._expectations.model().has_keyword(test_file, test_expectations.NEEDS_REBASELINE_KEYWORD) |
- or self._expectations.model().has_keyword(test_file, test_expectations.NEEDS_MANUAL_REBASELINE_KEYWORD)) |
+ expectations = self._expectations.model().get_expectations(test_file) |
+ return test_expectations.MISSING in expectations or test_expectations.NEEDS_REBASELINE in expectations or test_expectations.NEEDS_MANUAL_REBASELINE in expectations |
Dirk Pranke
2013/07/26 23:07:28
Nit: Maybe push this into TetsExpectationsLine.is_
|
def _test_is_slow(self, test_file): |
- return self._expectations.has_modifier(test_file, test_expectations.SLOW) |
+ return test_expectations.SLOW in self._expectations.model().get_expectations(test_file) |
Dirk Pranke
2013/07/26 23:07:28
Nit: maybe push this into TestExpectationsLine.tes
|
def needs_servers(self, test_names): |
return any(self._test_requires_lock(test_name) for test_name in test_names) |