Bug 1534141 [wpt PR 15709] - Make updater code exclude meaningless manifest item types., a=testonly

Automatic update from web-platform-tests
Exclude reftest_base types from the test tree.
--
Remove RefTestBase from the known item mappings.
--

wpt-commits: 4f64577312174deca261f5642c896ce33117fbf8, 405751fab6fec48b30c28bfa0f6b86fe056ee425
wpt-pr: 15709
This commit is contained in:
Josh Matthews 2019-03-26 13:54:58 +00:00 коммит произвёл James Graham
Родитель a087e75a8f
Коммит 7373d6f480
2 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -4,7 +4,7 @@ from collections import defaultdict
from six import iteritems, iterkeys, itervalues, string_types
from . import vcs
from .item import (ManualTest, WebDriverSpecTest, Stub, RefTestNode, RefTest, RefTestBase,
from .item import (ManualTest, WebDriverSpecTest, Stub, RefTestNode, RefTest,
TestharnessTest, SupportFile, ConformanceCheckerTest, VisualTest)
from .log import get_logger
from .utils import from_os_path, to_os_path
@ -37,7 +37,6 @@ def iterfilter(filters, iter):
item_classes = {"testharness": TestharnessTest,
"reftest": RefTest,
"reftest_node": RefTestNode,
"reftest_base": RefTestBase,
"manual": ManualTest,
"stub": Stub,
"wdspec": WebDriverSpecTest,

Просмотреть файл

@ -445,7 +445,7 @@ def create_test_tree(metadata_path, test_manifest):
"""
do_delayed_imports()
id_test_map = {}
exclude_types = frozenset(["stub", "helper", "manual", "support", "conformancechecker"])
exclude_types = frozenset(["stub", "helper", "manual", "support", "conformancechecker", "reftest_base"])
all_types = manifestitem.item_types.keys()
include_types = set(all_types) - exclude_types
for item_type, test_path, tests in test_manifest.itertypes(*include_types):