зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1243083 - Enable e10s by default when running reftests, r=jmaher
MozReview-Commit-ID: NlTGwdQ2nw --HG-- extra : rebase_source : 524578da02c2c84487bfe497783a6ea9de594ed9
This commit is contained in:
Родитель
1092076e36
Коммит
273f8a751c
|
@ -180,15 +180,9 @@ class ReftestArgumentsParser(argparse.ArgumentParser):
|
|||
"Valid values are `all', `needs-focus', or `non-needs-focus'. "
|
||||
"Defaults to `all'.")
|
||||
|
||||
self.add_argument("--e10s",
|
||||
action="store_true",
|
||||
default=False,
|
||||
dest="e10s",
|
||||
help="enables content processes")
|
||||
|
||||
self.add_argument("--disable-e10s",
|
||||
action="store_false",
|
||||
default=False,
|
||||
default=True,
|
||||
dest="e10s",
|
||||
help="disables content processes")
|
||||
|
||||
|
@ -754,3 +748,8 @@ class RemoteArgumentsParser(ReftestArgumentsParser):
|
|||
if (width < 1366 or height < 1050):
|
||||
self.error("ERROR: Invalid screen resolution %sx%s, please adjust to 1366x1050 or higher" % (
|
||||
width, height))
|
||||
|
||||
# Disable e10s by default on Android because we don't run Android
|
||||
# e10s jobs anywhere yet.
|
||||
options.e10s = False
|
||||
return options
|
||||
|
|
|
@ -652,6 +652,7 @@ class RefTest(object):
|
|||
# browser environment
|
||||
browserEnv = self.buildBrowserEnv(options, profileDir)
|
||||
|
||||
self.log.info("Running with e10s: {}".format(options.e10s))
|
||||
status = self.runApp(profile,
|
||||
binary=options.app,
|
||||
cmdargs=cmdargs,
|
||||
|
@ -662,6 +663,7 @@ class RefTest(object):
|
|||
symbolsPath=options.symbolsPath,
|
||||
options=options,
|
||||
debuggerInfo=debuggerInfo)
|
||||
self.log.info("Process mode: {}".format('e10s' if options.e10s else 'non-e10s'))
|
||||
mozleak.process_leak_log(self.leakLogFile,
|
||||
leak_thresholds=options.leakThresholds,
|
||||
stack_fixer=get_stack_fixer_function(options.utilityPath,
|
||||
|
|
|
@ -33,7 +33,7 @@ from mozharness.mozilla.testing.codecoverage import (
|
|||
from mozharness.mozilla.testing.testbase import TestingMixin, testing_config_options
|
||||
|
||||
SUITE_CATEGORIES = ['gtest', 'cppunittest', 'jittest', 'mochitest', 'reftest', 'xpcshell', 'mozbase', 'mozmill']
|
||||
SUITE_DEFAULT_E10S = ['mochitest']
|
||||
SUITE_DEFAULT_E10S = ['mochitest', 'reftest']
|
||||
|
||||
# DesktopUnittest {{{1
|
||||
class DesktopUnittest(TestingMixin, MercurialScript, BlobUploadMixin, MozbaseMixin, CodeCoverageMixin):
|
||||
|
|
Загрузка…
Ссылка в новой задаче