Bug 1881431 - run wpt crashtests/print-reftests within test-verify as needed. r=jgraham

Differential Revision: https://phabricator.services.mozilla.com/D212025
This commit is contained in:
Joel Maher 2024-05-29 17:43:44 +00:00
parent 420b5ad753
commit 18cb3e2063

View File

@ -283,7 +283,13 @@ class SingleTestMixin(object):
repo_tests_path = os.path.join("testing", "web-platform", extra, "tests")
tests_path = os.path.join("tests", "web-platform", extra, "tests")
for type, path, test in man:
if type not in ["testharness", "reftest", "wdspec"]:
if type not in [
"testharness",
"reftest",
"wdspec",
"crashtest",
"print-reftest",
]:
continue
repo_path = os.path.join(repo_tests_path, path)
# manifest paths use os.sep (like backslash on Windows) but