Changeset 90547 in webkit
- Timestamp:
- Jul 7, 2011, 12:26:52 AM (14 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r90546 r90547 1 2011-07-07 Eric Seidel <eric@webkit.org> 2 3 Unreviewed. Add more debug logging about which test expectations we're using. 4 5 * Scripts/webkitpy/layout_tests/models/test_expectations.py: 6 * Scripts/webkitpy/layout_tests/port/webkit.py: 7 1 8 2011-07-06 Adam Barth <abarth@webkit.org> 2 9 -
trunk/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py
r90539 r90547 532 532 533 533 if not has_bug and not has_wontfix: 534 self._log_non_fatal_error(lineno, 'Test lacks BUG modifier.', 535 test_list_path) 534 self._log_non_fatal_error(lineno, 'Test lacks BUG modifier.', test_list_path) 536 535 537 536 if self._is_lint_mode and 'rebaseline' in options: … … 540 539 'Cannot be checked in.', test_list_path) 541 540 542 def _check_options_against_expectations(self, options, expectations, 543 lineno, test_list_path): 541 def _check_options_against_expectations(self, options, expectations, lineno, test_list_path): 544 542 if 'slow' in options and TIMEOUT in expectations: 545 543 self._add_error(lineno, … … 549 547 def _check_path_does_not_exist(self, lineno, test_list_path): 550 548 # WebKit's way of skipping tests is to add a -disabled suffix. 551 549 # So we should consider the path existing if the path or the 552 550 # -disabled version exists. 553 551 if (not self._port.test_exists(test_list_path) … … 556 554 # time you update test_expectations.txt without syncing 557 555 # the LayoutTests directory 558 self._log_non_fatal_error(lineno, 'Path does not exist.', 559 test_list_path) 556 self._log_non_fatal_error(lineno, 'Path does not exist.', test_list_path) 560 557 return True 561 558 return False -
trunk/Tools/Scripts/webkitpy/layout_tests/port/webkit.py
r90534 r90547 303 303 _log.warn("Failed to open Skipped file: %s" % filename) 304 304 continue 305 _log.debug("Using Skipped file: %s" % filename) 305 306 skipped_file_contents = self._filesystem.read_text_file(filename) 306 307 tests_to_skip.extend(self._tests_from_skipped_file_contents(skipped_file_contents)) … … 312 313 expectations_path = self.path_to_test_expectations_file() 313 314 if self._filesystem.exists(expectations_path): 315 _log.debug("Using test_expectations.txt: %s" % expectations_path) 314 316 expectations = self._filesystem.read_text_file(expectations_path) + expectations 315 317 return expectations
Note:
See TracChangeset
for help on using the changeset viewer.