Changeset 78949 in webkit


Ignore:
Timestamp:
Feb 17, 2011 8:43:08 PM (13 years ago)
Author:
dpranke@chromium.org
Message:

2011-02-17 Dirk Pranke <dpranke@chromium.org>

Reviewed by Adam Roben.

Add blacklist of remaining webkitpy/* modules that fail on
Win32, so that test-webkitpy will at least run cleanly.

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

  • Scripts/webkitpy/layout_tests/test/main.py:
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r78947 r78949  
     12011-02-17  Dirk Pranke  <dpranke@chromium.org>
     2
     3        Reviewed by Adam Roben.
     4
     5        Add blacklist of remaining webkitpy/* modules that fail on
     6        Win32, so that test-webkitpy will at least run cleanly.
     7
     8        https://bugs.webkit.org/show_bug.cgi?id=54709
     9
     10        * Scripts/webkitpy/layout_tests/test/main.py:
     11
    1122011-02-17  Simon Fraser  <simon.fraser@apple.com>
    213
  • trunk/Tools/Scripts/webkitpy/test/main.py

    r70006 r78949  
    8080        return modules
    8181
     82    def _win32_blacklist(self, module_path):
     83        # FIXME: Remove this once https://bugs.webkit.org/show_bug.cgi?id=54526 is resolved.
     84        if any([module_path.startswith(package) for package in [
     85            'webkitpy.tool',
     86            'webkitpy.style',
     87            'webkitpy.common.net',
     88            'webkitpy.common.checkout',
     89            'webkitpy.common.config',
     90            ]]):
     91            return False
     92
     93        return module_path not in [
     94            # FIXME: Remove this when https://bugs.webkit.org/show_bug.cgi?id=54525 is resolved.
     95            'webkitpy.common.net.testoutputset_unittest',
     96
     97            # FIXME: This file also requires common.checkout to work
     98            'webkitpy.layout_tests.deduplicate_tests_unittest',
     99
     100            'webkitpy.common.prettypatch_unittest',
     101            'webkitpy.layout_tests.update_webgl_conformance_tests_unittest',
     102            'webkitpy.layout_tests.port.mac_unittest',
     103            'webkitpy.layout_tests.port.chromium_unittest',
     104            'webkitpy.layout_tests.port.mock_drt_unittest',
     105            'webkitpy.layout_tests.port.config_unittest',
     106        ]
     107
    82108    def run_tests(self, sys_argv, external_package_paths=None):
    83109        """Run the unit tests in all *_unittest.py modules in webkitpy.
     
    131157            modules.remove(excluded_module)
    132158
     159        if sys.platform == 'win32':
     160            modules = filter(self._win32_blacklist, modules)
     161
    133162        sys_argv.extend(modules)
    134163
Note: See TracChangeset for help on using the changeset viewer.