test_droid: Basic remote support. Allows test_droid to run tests against Android devices connected to a remote host. This is useful if the test station is in the lab and unaccesible. BUG=b:26186193 TEST=test_droid.py ZX1G22JHXN android_DummyTest --debug \ --remote android1758-wifi-test-station-2.cros Change-Id: I7f98440540fcf2e81e8715b81591c1d64ac60f7a Reviewed-on: https://chromium-review.googlesource.com/319811 Commit-Ready: Simran Basi <[email protected]> Tested-by: Simran Basi <[email protected]> Reviewed-by: Dan Shi <[email protected]>
diff --git a/site_utils/test_runner_utils.py b/site_utils/test_runner_utils.py index 361d3b5..c58b696 100755 --- a/site_utils/test_runner_utils.py +++ b/site_utils/test_runner_utils.py
@@ -99,6 +99,13 @@ 'verbosity.') parser.add_argument('--iterations', action='store', type=int, default=1, help='Number of times to run the tests specified.') + parser.add_argument('--ssh_verbosity', action='store', type=int, + choices=[0, 1, 2, 3], default=0, + help='Verbosity level for ssh, between 0 and 3 ' + 'inclusive.') + parser.add_argument('--ssh_options', action='store', default=None, + help='A string giving additional options to be ' + 'added to ssh commands.')