Bug 1536221 - toggle crashreporter value in mozinfo.json to False for windows10-aarch64 r=jmaher
authorEdwin Gao <egao@mozilla.com>
Mon, 01 Apr 2019 16:37:51 +0000
changeset 467075 74e9627a9c05c19bdb9a6c623160ac060ae69b7c
parent 467074 42b734a0a83dac48657497ba3ac904915f3e479e
child 467076 d78e42882b0dc03795fa66a7b22939756817d322
push id35795
push usercsabou@mozilla.com
push dateMon, 01 Apr 2019 21:54:51 +0000
treeherdermozilla-central@5a85cf971fef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs1536221
milestone68.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 1536221 - toggle crashreporter value in mozinfo.json to False for windows10-aarch64 r=jmaher Set the `crashreporter` value in mozinfo to `False`. This requires the setting of a new `options.crashreporter` value from `mochitest_options.py`, when it detects windows10-aarch64 configuration. Differential Revision: https://phabricator.services.mozilla.com/D25503
testing/mochitest/runtests.py
--- a/testing/mochitest/runtests.py
+++ b/testing/mochitest/runtests.py
@@ -3109,16 +3109,23 @@ def run_test_harness(parser, options):
         if key.startswith('log') or key == 'valgrind'}
 
     runner = MochitestDesktop(options.flavor, logger_options, options.stagedAddons,
                               quiet=options.quiet)
 
     if hasattr(options, 'log'):
         delattr(options, 'log')
 
+    # windows10-aarch64 does not yet support crashreporter testing.
+    # see https://bugzilla.mozilla.org/show_bug.cgi?id=1536221
+    if mozinfo.os == "win" and mozinfo.processor == "aarch64":
+        # manually override the mozinfo.crashreporter value after MochitestDesktop
+        # is instantiated.
+        mozinfo.update({u"crashreporter": False})
+
     options.runByManifest = False
     if options.flavor in ('plain', 'browser', 'chrome'):
         options.runByManifest = True
 
     if options.verify:
         result = runner.verifyTests(options)
     else:
         result = runner.runTests(options)