Bug 1331899 - Fix mozbuild for wpt manifest v4 changes, r=gps

MozReview-Commit-ID: Hipksgmk5Nr
This commit is contained in:
James Graham
2017-01-06 15:30:50 +00:00
parent 6865b3efc1
commit 104a8639a4

View File

@@ -1374,12 +1374,12 @@ class TreeMetadataEmitter(LoggingMixin):
install_prefix="web-platform/")
for path, tests in manifest:
for test_type, path, tests in manifest:
path = mozpath.join(tests_root, path)
for test in tests:
if test.item_type not in ["testharness", "reftest"]:
continue
if test_type not in ["testharness", "reftest", "wdspec"]:
continue
for test in tests:
obj.tests.append({
'path': path,
'here': mozpath.dirname(path),