зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1334525 - Handle tuple types and WPT manifests correctly; r=chmanchester
beb43155b7a6 changed WPT items to be 3-tuples instead of 2-tuples. This broke test_defaults_for_path(). MozReview-Commit-ID: 7M0RcQ7bOIU --HG-- extra : rebase_source : 28e44e5206abb7939d540ba809ec71325ead341c
This commit is contained in:
Родитель
39d3aedd82
Коммит
81cd3ec73b
|
@ -1443,7 +1443,7 @@ class BuildReader(object):
|
|||
if isinstance(paths, tuple):
|
||||
path, tests_root = paths
|
||||
tests_root = mozpath.join(ctx.relsrcdir, tests_root)
|
||||
for t in (mozpath.join(tests_root, path) for path, _ in obj):
|
||||
for t in (mozpath.join(tests_root, it[0]) for it in obj):
|
||||
result_context.test_files.add(mozpath.dirname(t) + '/**')
|
||||
else:
|
||||
for t in obj.tests:
|
||||
|
|
Загрузка…
Ссылка в новой задаче