mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
5276336dcf
Adds support for all variations of fenix (app name and activity passed by argument to mach perfest) Fixes bug in mach perftest argument passing (android-activity was not being set) Differential Revision: https://phabricator.services.mozilla.com/D73334
18 lines
742 B
Python
18 lines
742 B
Python
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
from mozperftest.browser.browsertime import add_options
|
|
|
|
url = "'https://www.example.com'"
|
|
|
|
common_options = [("processStartTime", "true"),
|
|
("firefox.disableBrowsertimeExtension", "true"),
|
|
("firefox.android.intentArgument", "'-a'"),
|
|
("firefox.android.intentArgument", "'android.intent.action.VIEW'"),
|
|
("firefox.android.intentArgument", "'-d'"),
|
|
("firefox.android.intentArgument", url)]
|
|
|
|
|
|
def before_runs(env, **kw):
|
|
add_options(env, common_options)
|