mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
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:
parent
39d3aedd82
commit
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:
|
||||
|
Loading…
Reference in New Issue
Block a user