mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
Bug 1599930 - Support --no-install for web platform tests. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D55046 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
2b03cc0b92
commit
abcab3d351
@ -47,7 +47,8 @@ class WebPlatformTestsRunnerSetup(MozbuildObject):
|
||||
|
||||
# Note that this import may fail in non-firefox-for-android trees
|
||||
from mozrunner.devices.android_device import (verify_android_device, InstallIntent)
|
||||
verify_android_device(self, install=InstallIntent.PROMPT, verbose=False, xre=True, app=package_name)
|
||||
install = InstallIntent.NO if kwargs.pop('no_install') else InstallIntent.PROMPT
|
||||
verify_android_device(self, install=install, verbose=False, xre=True, app=package_name)
|
||||
|
||||
if kwargs["certutil_binary"] is None:
|
||||
kwargs["certutil_binary"] = os.path.join(os.environ.get('MOZ_HOST_BIN'), "certutil")
|
||||
|
@ -8,7 +8,10 @@ import sys
|
||||
|
||||
def create_parser_wpt():
|
||||
from wptrunner import wptcommandline
|
||||
return wptcommandline.create_parser(["firefox", "firefox_android", "chrome", "edge", "servo"])
|
||||
result = wptcommandline.create_parser(["firefox", "firefox_android", "chrome", "edge", "servo"])
|
||||
result.add_argument("--no-install", action="store_true", default=False,
|
||||
help="Do not install test runner application")
|
||||
return result
|
||||
|
||||
|
||||
class WebPlatformTestsRunner(object):
|
||||
|
Loading…
Reference in New Issue
Block a user