Created
December 12, 2018 16:19
-
-
Save hotsphink/da8563736e215caa821000997d6cad00 to your computer and use it in GitHub Desktop.
mkgist-created gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HG changeset patch | |
# User Steve Fink <[email protected]> | |
# Date 1543510953 28800 | |
# Thu Nov 29 09:02:33 2018 -0800 | |
# Node ID e8cd04226af670b4ff44b754abfa47b7947cdc44 | |
# Parent 92625f0ec7038c71ad4de0a66d75ccda0142677b | |
Fix jstests wpt problem | |
diff --git a/js/src/tests/jstests.py b/js/src/tests/jstests.py | |
--- a/js/src/tests/jstests.py | |
+++ b/js/src/tests/jstests.py | |
@@ -359,17 +359,17 @@ def load_wpt_tests(xul_tester, requested | |
"verify": False, | |
"wasm": xul_tester.test("wasmIsSupported()"), | |
}) | |
wptcommandline.set_from_config(kwargs) | |
test_paths = kwargs["test_paths"] | |
def filter_jsshell_tests(it): | |
for test in it: | |
- if test[1].get("jsshell"): | |
+ if test[-1].get("jsshell"): | |
yield test | |
test_manifests = testloader.ManifestLoader(test_paths, types=["testharness"], | |
meta_filters=[filter_jsshell_tests]).load() | |
run_info_extras = products.load_product(kwargs["config"], "firefox")[-1](**kwargs) | |
run_info = wpttest.get_run_info(kwargs["test_paths"]["/"]["metadata_path"], | |
"firefox", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment