Changeset 90547 in webkit


Ignore:
Timestamp:
Jul 7, 2011, 12:26:52 AM (14 years ago)
Author:
eric@webkit.org
Message:

2011-07-07 Eric Seidel <eric@webkit.org>

Unreviewed. Add more debug logging about which test expectations we're using.

  • Scripts/webkitpy/layout_tests/models/test_expectations.py:
  • Scripts/webkitpy/layout_tests/port/webkit.py:
Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r90546 r90547  
     12011-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
    182011-07-06  Adam Barth  <abarth@webkit.org>
    29
  • trunk/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py

    r90539 r90547  
    532532
    533533        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)
    536535
    537536        if self._is_lint_mode and 'rebaseline' in options:
     
    540539                'Cannot be checked in.', test_list_path)
    541540
    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):
    544542        if 'slow' in options and TIMEOUT in expectations:
    545543            self._add_error(lineno,
     
    549547    def _check_path_does_not_exist(self, lineno, test_list_path):
    550548        # WebKit's way of skipping tests is to add a -disabled suffix.
    551             # So we should consider the path existing if the path or the
     549        # So we should consider the path existing if the path or the
    552550        # -disabled version exists.
    553551        if (not self._port.test_exists(test_list_path)
     
    556554            # time you update test_expectations.txt without syncing
    557555            # 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)
    560557            return True
    561558        return False
  • trunk/Tools/Scripts/webkitpy/layout_tests/port/webkit.py

    r90534 r90547  
    303303                _log.warn("Failed to open Skipped file: %s" % filename)
    304304                continue
     305            _log.debug("Using Skipped file: %s" % filename)
    305306            skipped_file_contents = self._filesystem.read_text_file(filename)
    306307            tests_to_skip.extend(self._tests_from_skipped_file_contents(skipped_file_contents))
     
    312313        expectations_path = self.path_to_test_expectations_file()
    313314        if self._filesystem.exists(expectations_path):
     315            _log.debug("Using test_expectations.txt: %s" % expectations_path)
    314316            expectations = self._filesystem.read_text_file(expectations_path) + expectations
    315317        return expectations
Note: See TracChangeset for help on using the changeset viewer.