summaryrefslogtreecommitdiffstats
path: root/Tools/Scripts/webkitpy/test/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/Scripts/webkitpy/test/main.py')
-rw-r--r--Tools/Scripts/webkitpy/test/main.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/Tools/Scripts/webkitpy/test/main.py b/Tools/Scripts/webkitpy/test/main.py
index 1038d82..080e0e5 100644
--- a/Tools/Scripts/webkitpy/test/main.py
+++ b/Tools/Scripts/webkitpy/test/main.py
@@ -79,6 +79,20 @@ class Tester(object):
return modules
+ def _win32_blacklist(self, module_path):
+ # FIXME: Remove this once https://bugs.webkit.org/show_bug.cgi?id=54526 is resolved.
+ if any([module_path.startswith(package) for package in [
+ 'webkitpy.tool',
+ 'webkitpy.common.checkout',
+ 'webkitpy.common.config',
+ ]]):
+ return False
+
+ return module_path not in [
+ # FIXME: This file also requires common.checkout to work
+ 'webkitpy.layout_tests.deduplicate_tests_unittest',
+ ]
+
def run_tests(self, sys_argv, external_package_paths=None):
"""Run the unit tests in all *_unittest.py modules in webkitpy.
@@ -130,6 +144,9 @@ class Tester(object):
_log.info("Excluding: %s (use --all to include)" % excluded_module)
modules.remove(excluded_module)
+ if sys.platform == 'win32':
+ modules = filter(self._win32_blacklist, modules)
+
sys_argv.extend(modules)
# We pass None for the module because we do not want the unittest