TestMapping: Create basic TEST MAPPING tests of TF.

Bug: 126046198

Basic Test Mapping tests of TF is necessary to make sure TF won't
break. Add below TEST MAPPING tests:
* GTest
* GTest with data
* Instrumentation with class filter
* Instrumentation with include-filter
* Instrumentation with annotation filter.
* JarHostTest

Test: atest --test-mapping tools/tradefederation/core/TEST_MAPPING
      run in presubmit to make sure all the tests are run.

Change-Id: Ibe2abf395aa50ebb28a8a10ec7e38c9aa1f82c94
2 files changed
tree: 8c46acf023ab10e8b2f2b5c4ca5a9d3d1eb4d9ee
  1. atest/
  2. proto/
  3. proto-gen/
  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. TEST_MAPPING
  26. TEST_MAPPING_README
  27. tradefed.sh
  28. tradefed_win.bat
  29. 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/