atest: Add com.android.compatibility* lookup in the test xml.

Some device side test targets depend on host side runtime jars.
These can't be listed as build deps but will cause atest to fail
if the host side runtime dep is not built. Until we can resolve
this via the base harness, include cts-tradefed as a build target.

Bug: 70813166
Test: atest CtsAslrMallocTestCases
Change-Id: I95a00b7903341634ed57e1dde3cfd6260b8cd9fc
1 file changed
tree: 07103662b0538cd9e95b9e2ac739f1d36082b3d7
  1. atest/
  2. prod-tests/
  3. proto/
  4. python-lib/
  5. remote/
  6. res/
  7. src/
  8. tests/
  9. util-apps/
  10. .classpath
  11. .gitignore
  12. .project
  13. Android.bp
  14. Android.mk
  15. atest_tradefed.sh
  16. CleanSpec.mk
  17. error_prone_rules.mk
  18. MANIFEST.mf
  19. OWNERS
  20. PREUPLOAD.cfg
  21. pylintrc
  22. README.md
  23. run_tf_cmd.sh
  24. script_help.sh
  25. tradefed.sh
  26. tradefed_win.bat
  27. verify.sh
README.md

Trade Federation (TF / tradefed)

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:

  • source build/envsetup.sh
  • tapas tradefed-all
  • make -j8

More information at: https://source.android.com/devices/tech/test_infra/tradefed/