Bug 1545143 [wpt PR 18211] - [Gecko Bug 1545143] Add --full flag for wpt-update for updating with a full set of results, a=testonly
authormoz-wptsync-bot <wptsync@mozilla.com>
Tue, 06 Aug 2019 17:07:08 +0000
changeset 486698 ba28105483cd30a749968990c11de8964c0c1559
parent 486697 ec3c55006ed2bb027d8494068c05fc433f8d34ec
child 486699 7fc1acbcf0bbc00db3e9609fea5fbf8374799f00
push id113854
push userwptsync@mozilla.com
push dateWed, 07 Aug 2019 13:20:59 +0000
treeherdermozilla-inbound@04794df16e82 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1545143, 18211
milestone70.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1545143 [wpt PR 18211] - [Gecko Bug 1545143] Add --full flag for wpt-update for updating with a full set of results, a=testonly Automatic update from web-platform-tests Add --full flag for wpt-update for updating with a full set of results This has different behaviour from the regular update in a couple of ways: * It doesn't try to preserve existing conditionals that didn't match anything in the results * It removes subtests that are no longer present in the data set. As such this is an appropriate mode to use when you have a try push covering all the possible platforms, or when you are confident there are no per-platform differences. As part of this work, the code for updating the conditionals was refactored to be clearer, and a bunch of tests were added to ensure that it continues to work correctly. Differential Revision: https://phabricator.services.mozilla.com/D34735 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1545143 gecko-commit: 3bce3ca779f0084be8cba237f00502b1201daa95 gecko-integration-branch: central gecko-reviewers: maja_zf -- Fixup test failures -- Forward port part of next change to fix tests. -- wpt-commits: 6552f34bcd296b27768a0497aaba4f3b838fb64c, 19af2ebf71f6ec463893bfaf3ab9d71670b1926a, 43db14bf7dd3e3dfaad9a16b9e4da78d1c1fc49c wpt-pr: 18211
testing/web-platform/tests/tools/wptrunner/wptrunner/metadata.py
--- a/testing/web-platform/tests/tools/wptrunner/wptrunner/metadata.py
+++ b/testing/web-platform/tests/tools/wptrunner/wptrunner/metadata.py
@@ -365,17 +365,17 @@ class ExpectedUpdater(object):
                     action_map[action](item_data)
 
     def suite_start(self, data):
         self.run_info = run_info_intern.store(RunInfo(data["run_info"]))
 
     def test_start(self, data):
         test_id = intern(data["test"].encode("utf8"))
         try:
-            test_data = self.id_test_map[test_id]
+            self.id_test_map[test_id]
         except KeyError:
             print("Test not found %s, skipping" % test_id)
             return
 
         self.tests_visited[test_id] = set()
 
     def test_status(self, data):
         test_id = intern(data["test"].encode("utf8"))