commit | b74499e1d907b0a93dc9cd9533148678d52e8cfb | [log] [tgz] |
---|---|---|
author | Hsin-Yi Chen <hsinyichen@google.com> | Mon Jul 18 13:24:56 2022 +0800 |
committer | Hsin-Yi Chen <hsinyichen@google.com> | Tue Jul 19 03:57:53 2022 +0000 |
tree | 6142ee4795d4cbfad7cd2899d756e68996371765 | |
parent | a491e86c3318a198fddf40249404194e20e82cf5 [diff] |
Include index in preconfigured virtual device serial The format of preconfigured virtual device serials is changed to gce-device-<IP address>-<index>-<user> where -<user> is optional. This format allows multiple devices sharing an account on a host. For example, the preconfigured-virtual-device-pool: 192.168.1.2 192.168.1.2:vsoc-01 192.168.1.3:vsoc-01 They are converted to the serials: gce-device-192.168.1.2-0 gce-device-192.168.1.2-1-vsoc-01 gce-device-192.168.1.3-0-vsoc-01 Test: TF_GLOBAL_CONFIG=test.xml tradefed.sh list devices all Bug: 229812494 Change-Id: I89fcf632ecae28f578b5623a7d716d1d6e5f3771
TF is a test harness used to drive Android automated testing. It runs on test hosts and monitors the connected devices, handling test scheduling & execution and device management.
Other test harnesses like Compatibility Test Suite (CTS) and Vendor Test Suite (VTS) use TF as a basis and extend it for their particular needs.
1. Create your change in Gerrit 2. Add the reviewer named "Tradefed Codereview" (email: tradefed-codereview@tradefederation.google.com.iam.gserviceaccount.com) 3. Review the code review guidance at go/tf-guidelines and go/tradefed-code-reviews 4. GWSQ should add a couple of people from the team to review your code and give feedback.
More information at: https://source.android.com/devices/tech/test_infra/tradefed/
See more details about Tradefed Architecture at: https://source.android.com/devices/tech/test_infra/tradefed/architecture
If you are a tests writer you should start looking in the test_framework/ component which contains everything needed to write a tests in Tradefed.