зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1668565 - Update help for --setpref in Raptor/talos r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D92069
This commit is contained in:
Родитель
6b7522e2fc
Коммит
37b5890c05
|
@ -315,9 +315,10 @@ class Raptor(TestingMixin, MercurialScript, CodeCoverageMixin, AndroidMixin, Pyt
|
|||
}],
|
||||
[["--setpref"], {
|
||||
"action": "append",
|
||||
"metavar": "PREF=VALUE",
|
||||
"dest": "extra_prefs",
|
||||
"default": [],
|
||||
"help": "A preference to set. Must be a key-value pair separated by a ':'."
|
||||
"help": "Set a browser preference. May be used multiple times."
|
||||
}],
|
||||
[["--cold"], {
|
||||
"action": "store_true",
|
||||
|
|
|
@ -163,8 +163,8 @@ class Talos(TestingMixin, MercurialScript, TooltoolMixin,
|
|||
"metavar": "PREF=VALUE",
|
||||
"dest": "extra_prefs",
|
||||
"default": [],
|
||||
"help": "Defines an extra user preference."}
|
||||
],
|
||||
"help": "Set a browser preference. May be used multiple times.",
|
||||
}],
|
||||
] + testing_config_options + copy.deepcopy(code_coverage_config_options)
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
|
|
|
@ -160,7 +160,8 @@ def create_parser(mach_interface=False):
|
|||
add_arg('--enable-fission', dest="enable_fission", action="store_true", default=False,
|
||||
help="Enable Fission (site isolation) in Gecko.")
|
||||
add_arg('--setpref', dest="extra_prefs", action="append", default=[],
|
||||
help="A preference to set. Must be a key-value pair separated by a ':'.")
|
||||
metavar="PREF=VALUE",
|
||||
help="Set a browser preference. May be used multiple times.")
|
||||
if not mach_interface:
|
||||
add_arg('--run-local', dest="run_local", default=False, action="store_true",
|
||||
help="Flag which indicates if Raptor is running locally or in production")
|
||||
|
|
|
@ -115,7 +115,7 @@ def create_parser(mach_interface=False):
|
|||
" Currently used for xperf only.")
|
||||
add_arg('--setpref', action='append', default=[], dest="extraPrefs",
|
||||
metavar="PREF=VALUE",
|
||||
help="defines an extra user preference")
|
||||
help="Set a browser preference. May be used multiple times.")
|
||||
add_arg("--firstNonBlankPaint", action='store_true', dest="fnbpaint",
|
||||
help="Wait for firstNonBlankPaint event before recording the time")
|
||||
add_arg("--pdfPaint", action='store_true', dest="pdfpaint",
|
||||
|
|
Загрузка…
Ссылка в новой задаче