Merge changes from topic "mainline-testing" into qt-qpr1-dev

* changes:
  Allow BaseTestSuite to load the given TF configs.
  TestMappingSuiteRunner: Run tests in TestMapping base on option test-mapping-path.
  Run Test Mapping tests with different options inside a single suite.
  TestMappingSuiteRunner: Add a dummy option for Test Provider Service to run tests based on the given test mapping path.
  TestMappingSuiteRunner: Add @Option test-mapping-path.
  TestMapping: Support comments in TEST_MAPPING file.
  TestMappingSuiteRunner: Allow specifying test module on Test Mapping suite run.
tree: e1624806a52fa95ce60b4d916212365d175858e9
  1. atest/
  2. clearcut_client/
  3. common/
  4. proto/
  5. python-lib/
  6. remote/
  7. res/
  8. src/
  9. tests/
  10. util-apps/
  11. .classpath
  12. .gitignore
  13. .project
  14. Android.bp
  15. Android.mk
  16. atest_tradefed.sh
  17. CleanSpec.mk
  18. error_prone_rules.mk
  19. MANIFEST.mf
  20. OWNERS
  21. PREUPLOAD.cfg
  22. pylintrc
  23. README.md
  24. run_tf_cmd.sh
  25. script_help.sh
  26. TEST_MAPPING
  27. TEST_MAPPING_README
  28. tradefed.sh
  29. tradefed_win.bat
  30. 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/