Changeset 56745 in webkit


Ignore:
Timestamp:
Mar 29, 2010 3:34:33 PM (14 years ago)
Author:
dpranke@chromium.org
Message:

2010-03-29 Dirk Pranke <dpranke@chromium.org>

Reviewed by Dimitri Glazkov.

Reformat port/mac.py to fit witin 80 columns for PEP-8 compliance.

https://bugs.webkit.org/show_bug.cgi?id=36691

  • Scripts/webkitpy/layout_tests/port/mac.py:
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r56743 r56745  
     12010-03-29  Dirk Pranke  <dpranke@chromium.org>
     2
     3        Reviewed by Dimitri Glazkov.
     4
     5        Reformat port/mac.py to fit witin 80 columns for PEP-8 compliance.
     6
     7        https://bugs.webkit.org/show_bug.cgi?id=36691
     8
     9        * Scripts/webkitpy/layout_tests/port/mac.py:
     10
    1112010-03-29  Eric Seidel  <eric@webkit.org>
    212
  • trunk/WebKitTools/Scripts/webkitpy/layout_tests/port/mac.py

    r56743 r56745  
    189189
    190190    def _skipped_file_paths(self):
    191         # FIXME: This method will need to be made work for non-mac platforms and moved into base.Port.
     191        # FIXME: This method will need to be made work for non-mac
     192        # platforms and moved into base.Port.
    192193        skipped_files = []
    193194        if self._name in ('mac-tiger', 'mac-leopard', 'mac-snowleopard'):
     
    199200
    200201    def _tests_for_other_platforms(self):
    201         # The original run-webkit-tests builds up a "whitelist" of tests to run, and passes that to DumpRenderTree.
    202         # run-chromium-webkit-tests assumes we run *all* tests and test_expectations.txt functions as a blacklist.
    203         # FIXME: This list could be dynamic based on platform name and pushed into base.Port.
     202        # The original run-webkit-tests builds up a "whitelist" of tests to
     203        # run, and passes that to DumpRenderTree. new-run-webkit-tests assumes
     204        # we run *all* tests and test_expectations.txt functions as a
     205        # blacklist.
     206        # FIXME: This list could be dynamic based on platform name and
     207        # pushed into base.Port.
    204208        return [
    205209            "platform/chromium",
     
    210214
    211215    def _tests_for_disabled_features(self):
    212         # FIXME: This should use the feature detection from webkitperl/features.pm to match run-webkit-tests.
    213         # For now we hard-code a list of features known to be disabled on the Mac platform.
     216        # FIXME: This should use the feature detection from
     217        # webkitperl/features.pm to match run-webkit-tests.
     218        # For now we hard-code a list of features known to be disabled on
     219        # the Mac platform.
    214220        disabled_feature_tests = [
    215221            "fast/xhtmlmp",
     
    218224            "wml",
    219225        ]
    220         # FIXME: webarchive tests expect to read-write from -expected.webarchive files instead of .txt files.
    221         # This script doesn't know how to do that yet, so pretend they're just "disabled".
     226        # FIXME: webarchive tests expect to read-write from
     227        # -expected.webarchive files instead of .txt files.
     228        # This script doesn't know how to do that yet, so pretend they're
     229        # just "disabled".
    222230        webarchive_tests = [
    223231            "webarchive",
     
    298306    def _build_path(self, *comps):
    299307        if not self._cached_build_root:
    300             self._cached_build_root = executive.run_command([self.script_path("webkit-build-directory"), "--top-level"]).rstrip()
    301         return os.path.join(self._cached_build_root, self._options.target, *comps)
     308            self._cached_build_root = executive.run_command(
     309                [self.script_path("webkit-build-directory"),
     310                 "--top-level"]).rstrip()
     311        return os.path.join(self._cached_build_root, self._options.target,
     312                            *comps)
    302313
    303314    def _kill_process(self, pid):
     
    337348
    338349    def _path_to_wdiff(self):
    339         return 'wdiff' # FIXME: This does not exist on a default Mac OS X Leopard install.
     350        # FIXME: This does not exist on a default Mac OS X Leopard install.
     351        return 'wdiff'
    340352
    341353    def _shut_down_http_server(self, server_pid):
Note: See TracChangeset for help on using the changeset viewer.