Changeset 90479 in webkit
- Timestamp:
- Jul 6, 2011 12:07:39 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r90476 r90479 1 2011-07-06 Adam Barth <abarth@webkit.org> 2 3 Remove unused parameter from _add_test in test_expectations.py 4 https://bugs.webkit.org/show_bug.cgi?id=64008 5 6 Reviewed by Eric Seidel. 7 8 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: 9 1 10 2011-07-06 Adam Barth <abarth@webkit.org> 2 11 -
trunk/Tools/Scripts/webkitpy/layout_tests/layout_package/test_expectations.py
r86696 r90479 329 329 return self.has_modifier(test, REBASELINE) 330 330 331 332 331 def _handle_any_read_errors(self): 333 332 if len(self._errors) or len(self._non_fatal_errors): … … 348 347 options = [] 349 348 modifiers = [] 350 num_matches = 0351 349 if self._full_test_list: 352 350 for test in self._full_test_list: 353 351 if not test in self._test_list_paths: 354 self._add_test(test, modifiers, num_matches, expectations, 355 options, overrides_allowed=False) 352 self._add_test(test, modifiers, expectations, options, overrides_allowed=False) 356 353 357 354 def _dict_of_sets(self, strings_to_constants): … … 496 493 497 494 modifiers = [o for o in options if o in self.MODIFIERS] 498 self._add_tests(tests, expectations, test_list_path, lineno, 499 modifiers, num_matches, options, overrides_allowed) 495 self._add_tests(tests, expectations, test_list_path, lineno, modifiers, num_matches, options, overrides_allowed) 500 496 501 497 def _get_options_list(self, listString): … … 598 594 modifiers, num_matches, options, overrides_allowed): 599 595 for test in tests: 600 if self._already_seen_better_match(test, test_list_path, 601 num_matches, lineno, overrides_allowed): 596 if self._already_seen_better_match(test, test_list_path, num_matches, lineno, overrides_allowed): 602 597 continue 603 598 604 599 self._clear_expectations_for_test(test, test_list_path) 605 self._test_list_paths[test] = (self._fs.normpath(test_list_path), 606 num_matches, lineno) 607 self._add_test(test, modifiers, num_matches, expectations, options, 608 overrides_allowed) 609 610 def _add_test(self, test, modifiers, num_matches, expectations, options, 611 overrides_allowed): 600 self._test_list_paths[test] = (self._fs.normpath(test_list_path), num_matches, lineno) 601 self._add_test(test, modifiers, expectations, options, overrides_allowed) 602 603 def _add_test(self, test, modifiers, expectations, options, overrides_allowed): 612 604 """Sets the expected state for a given test. 613 605 … … 619 611 test: test to add 620 612 modifiers: sequence of modifier keywords ('wontfix', 'slow', etc.) 621 num_matches: number of modifiers that matched the configuration622 613 expectations: sequence of expectations (PASS, IMAGE, etc.) 623 614 options: sequence of keywords and bug identifiers.
Note: See TracChangeset
for help on using the changeset viewer.