Bug 1413005 - Update e10s mozinfo properties for test-verification; r=jmaher
authorGeoff Brown <gbrown@mozilla.com>
Tue, 31 Oct 2017 15:58:28 -0600
changeset 689761 0382668563a528d0dd17e23cf0708633663529ca
parent 689760 66241b05a61e2813ddb2672572f5493c7280650e
child 689762 0341d179a4baf5dab1d47c603bf4d5150b59c949
push id87097
push userdholbert@mozilla.com
push dateTue, 31 Oct 2017 22:39:07 +0000
reviewersjmaher
bugs1413005
milestone58.0a1
Bug 1413005 - Update e10s mozinfo properties for test-verification; r=jmaher
testing/mozharness/mozharness/mozilla/testing/verify_tools.py
--- a/testing/mozharness/mozharness/mozilla/testing/verify_tools.py
+++ b/testing/mozharness/mozharness/mozilla/testing/verify_tools.py
@@ -53,16 +53,21 @@ class VerifyToolsMixin(object):
             return []
 
         def get_automationrelevance():
             response = self.load_json_url(url)
             return response
 
         dirs = self.query_abs_dirs()
         mozinfo.find_and_update_from_json(dirs['abs_test_install_dir'])
+        if self.config.get('e10s') == True:
+            mozinfo.update({"e10s": True})
+            # Additional mozinfo properties like "headless" and "coverage" are
+            # also normally updated dynamically in the harness, but neither of
+            # these apply to the test-verify task.
 
         manifests = [
             (os.path.join(dirs['abs_mochitest_dir'], 'tests', 'mochitest.ini'), 'plain'),
             (os.path.join(dirs['abs_mochitest_dir'], 'chrome', 'chrome.ini'), 'chrome'),
             (os.path.join(dirs['abs_mochitest_dir'], 'browser', 'browser-chrome.ini'), 'browser-chrome'),
             (os.path.join(dirs['abs_mochitest_dir'], 'a11y', 'a11y.ini'), 'a11y'),
             (os.path.join(dirs['abs_xpcshell_dir'], 'tests', 'xpcshell.ini'), 'xpcshell'),
         ]