mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8ee
This commit is contained in:
parent
c5f7c9ccf3
commit
e891345f26
1328 changed files with 36632 additions and 20588 deletions
|
@ -225,8 +225,9 @@ class SourceFile(object):
|
|||
# wdspec tests are in subdirectories of /webdriver excluding __init__.py
|
||||
# files.
|
||||
rel_dir_tree = self.rel_path.split(os.path.sep)
|
||||
return (rel_dir_tree[0] == "webdriver" and
|
||||
len(rel_dir_tree) > 1 and
|
||||
return (((rel_dir_tree[0] == "webdriver" and len(rel_dir_tree) > 1) or
|
||||
(rel_dir_tree[:2] == ["infrastructure", "webdriver"] and
|
||||
len(rel_dir_tree) > 2)) and
|
||||
self.filename not in ("__init__.py", "conftest.py") and
|
||||
fnmatch(self.filename, wd_pattern))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue