Bug 1206142 - Use adb as default devicemanager for Android xpcshell tests; r=jgraham

This commit is contained in:
Geoff Brown 2015-09-18 13:51:57 -06:00
parent fbd532f883
commit 5cde1b6a80
3 changed files with 5 additions and 3 deletions

View File

@ -193,6 +193,7 @@ config = {
"run_filename": "remotexpcshelltests.py",
"testsdir": "xpcshell",
"options": [
"--dm_trans=sut",
"--deviceIP=%(device_ip)s",
"--devicePort=%(device_port)s",
"--xre-path=%(xre_path)s",

View File

@ -119,7 +119,8 @@ config = {
},
"xpcshell": {
"run_filename": "remotexpcshelltests.py",
"options": ["--deviceIP=%(device_ip)s",
"options": ["--dm_trans=sut",
"--deviceIP=%(device_ip)s",
"--devicePort=%(device_port)s",
"--xre-path=%(xre_path)s",
"--testing-modules-dir=%(modules_dir)s",

View File

@ -113,8 +113,8 @@ def add_remote_arguments(parser):
default=20701, help="port of remote device to test")
parser.add_argument("--dm_trans", action="store", type=str, dest="dm_trans",
choices=["adb", "sut"], default="sut",
help="the transport to use to communicate with device: [adb|sut]; default=sut")
choices=["adb", "sut"], default="adb",
help="the transport to use to communicate with device: [adb|sut]; default=adb")
parser.add_argument("--objdir", action="store", type=str, dest="objdir",
help="local objdir, containing xpcshell binaries")