commit | 7f722ccab32593daf7120de3a98e511ae47c2a89 | [log] [tgz] |
---|---|---|
author | Roland Levillain <rpl@google.com> | Fri Feb 19 15:45:30 2021 +0000 |
committer | Roland Levillain <rpl@google.com> | Fri Feb 26 10:33:19 2021 +0000 |
tree | 6e76d771f14707630be997c7d97c396c33b6d1d4 | |
parent | b5039aeb632aa2105bdf6702dd7b7123ac298789 [diff] |
Improve error reporting in the ART run-test TradeFed test trunner. The `com.android.tradefed.testtype.ArtRunTest` test runner used to report any test error as soon as it was detected. To improve error reporting (and make diagnosis easier), refactor the error checking logic to first collect all errors and then report them (in a single place) at the end of the test. Test: m tradefed tradefed-tests \ && tools/tradefederation/core/tests/run_tradefed_tests.sh \ --class com.android.tradefed.testtype.ArtRunTestTest Test: atest --test-mapping art:all Bug: 171177621 Bug: 147812905 Change-Id: I611d077f2769f350ea6ba4630084620d0539ccc5
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.