mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1206142 - Use adb as default devicemanager for Android xpcshell tests; r=jgraham
This commit is contained in:
parent
fbd532f883
commit
5cde1b6a80
@ -193,6 +193,7 @@ config = {
|
|||||||
"run_filename": "remotexpcshelltests.py",
|
"run_filename": "remotexpcshelltests.py",
|
||||||
"testsdir": "xpcshell",
|
"testsdir": "xpcshell",
|
||||||
"options": [
|
"options": [
|
||||||
|
"--dm_trans=sut",
|
||||||
"--deviceIP=%(device_ip)s",
|
"--deviceIP=%(device_ip)s",
|
||||||
"--devicePort=%(device_port)s",
|
"--devicePort=%(device_port)s",
|
||||||
"--xre-path=%(xre_path)s",
|
"--xre-path=%(xre_path)s",
|
||||||
|
@ -119,7 +119,8 @@ config = {
|
|||||||
},
|
},
|
||||||
"xpcshell": {
|
"xpcshell": {
|
||||||
"run_filename": "remotexpcshelltests.py",
|
"run_filename": "remotexpcshelltests.py",
|
||||||
"options": ["--deviceIP=%(device_ip)s",
|
"options": ["--dm_trans=sut",
|
||||||
|
"--deviceIP=%(device_ip)s",
|
||||||
"--devicePort=%(device_port)s",
|
"--devicePort=%(device_port)s",
|
||||||
"--xre-path=%(xre_path)s",
|
"--xre-path=%(xre_path)s",
|
||||||
"--testing-modules-dir=%(modules_dir)s",
|
"--testing-modules-dir=%(modules_dir)s",
|
||||||
|
@ -113,8 +113,8 @@ def add_remote_arguments(parser):
|
|||||||
default=20701, help="port of remote device to test")
|
default=20701, help="port of remote device to test")
|
||||||
|
|
||||||
parser.add_argument("--dm_trans", action="store", type=str, dest="dm_trans",
|
parser.add_argument("--dm_trans", action="store", type=str, dest="dm_trans",
|
||||||
choices=["adb", "sut"], default="sut",
|
choices=["adb", "sut"], default="adb",
|
||||||
help="the transport to use to communicate with device: [adb|sut]; default=sut")
|
help="the transport to use to communicate with device: [adb|sut]; default=adb")
|
||||||
|
|
||||||
parser.add_argument("--objdir", action="store", type=str, dest="objdir",
|
parser.add_argument("--objdir", action="store", type=str, dest="objdir",
|
||||||
help="local objdir, containing xpcshell binaries")
|
help="local objdir, containing xpcshell binaries")
|
||||||
|
Loading…
Reference in New Issue
Block a user