| # Copyright 2022 The ChromiumOS Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| NAME = 'infra_MultiDutsWithAndroid' |
| METADATA = { |
| "contacts": ["peep-fleet-infra-sw@google.com"], |
| "bug_component": "b:1121531", |
| "criteria": "Sample test for cross device tests with Android devices.", |
| } |
| ATTRIBUTES = "suite:infra_multi_duts_with_android" |
| TEST_TYPE = 'server' |
| |
| """ |
| Verify the test can create correct host type for Android devices and perform |
| basic adb actions. |
| """ |
| |
| |
| def run(machine): |
| host = hosts.create_host(machine) |
| companions = hosts.create_companion_hosts(companion_hosts) |
| job.run_test('infra_MultiDutsWithAndroid', host=host, companions=companions) |
| |
| parallel_simple(run, machines) |