| commit | fd763486d2bf74ef62030efc387fce4f2c4a17db | [log] [tgz] |
|---|---|---|
| author | Hadrien Zalek <hzalek@google.com> | Fri Nov 22 17:02:44 2019 -0800 |
| committer | Hadrien Zalek <hzalek@google.com> | Mon Nov 25 16:57:54 2019 -0800 |
| tree | a0e0b4f5fe29b0670cbb78f2632616fad32d7ff1 | |
| parent | 7916fa97afc3ba00ef8fc6cc1161d95e91465081 [diff] |
Switch to root when pulling coverage files Change to root when pulling coverage files off the device in the test result listener. This allows collecting coverage data without requiring tests run as root. Bug: 144953626 Test: tradefed.sh run singleCommand host --class com.android.tradefed.testtype.JavaCodeCoverageListenerTest Change-Id: I0240d62be0f4020306b9dc2cb589bc2da87186ee
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.