commit | b07354e1827d79ad5fea2d077c2beca6c8d584fc | [log] [tgz] |
---|---|---|
author | Nikita Ioffe <ioffe@google.com> | Mon Oct 21 11:32:52 2019 +0100 |
committer | Nikita Ioffe <ioffe@google.com> | Tue Oct 22 08:10:19 2019 +0000 |
tree | ebd99ec203f4fb8ff7dc09494d157ee3287e4841 | |
parent | 9b272ecd02d83b3c82afead26dae6bd7888532aa [diff] |
Accept both old (without path) and new (with) outputs in getActiveApexes We can't assume that platform will support -f flag for the pm list packages --apex-only command, which was added in R. This change makes sure that getActiveApexes also works on older version of platform by falling back to the previous pattern (without path) and setting sourceDir field to empty string. Test: cd tests; mma; ./run_tradefed_tests.sh Bug: 140813980 Bug: 142953457 Change-Id: Ifc3ebbe4a4c2fb68d29d76381d42763b9ebdc2e5
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.
Building TF:
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.