Commit 79fdb325 authored by Chong Gu's avatar Chong Gu Committed by Commit Bot

Pass --fuchisa-device-address flag into gpu integration tests.

Bug: 1080854
Change-Id: I5400155ffb3e040c9068c631f62d59b60d14a51d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2481955Reviewed-by: default avatarBrian Sheedy <bsheedy@chromium.org>
Commit-Queue: Chong Gu <chonggu@google.com>
Cr-Commit-Position: refs/heads/master@{#818235}
parent 6e4ce866
...@@ -55,8 +55,9 @@ def main(): ...@@ -55,8 +55,9 @@ def main():
try: try:
with GetDeploymentTargetForArgs(additional_target_args) as target: with GetDeploymentTargetForArgs(additional_target_args) as target:
target.Start() target.Start()
_, fuchsia_ssh_port = target._GetEndpoint() fuchsia_device_address, fuchsia_ssh_port = target._GetEndpoint()
gpu_script.extend(['--chromium-output-directory', args.out_dir]) gpu_script.extend(['--chromium-output-directory', args.out_dir])
gpu_script.extend(['--fuchsia-device-address', fuchsia_device_address])
gpu_script.extend(['--fuchsia-ssh-config', target._GetSshConfigPath()]) gpu_script.extend(['--fuchsia-ssh-config', target._GetSshConfigPath()])
if fuchsia_ssh_port: if fuchsia_ssh_port:
gpu_script.extend(['--fuchsia-ssh-port', str(fuchsia_ssh_port)]) gpu_script.extend(['--fuchsia-ssh-port', str(fuchsia_ssh_port)])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment