commit | 9a678ac4e22920e369f84a9dd0651a65a36a17ec | [log] [tgz] |
---|---|---|
author | Ronald Braunstein <rbraunstein@google.com> | Fri Jun 21 12:09:45 2024 -0700 |
committer | Ronald Braunstein <rbraunstein@google.com> | Fri Jun 21 20:33:08 2024 +0000 |
tree | fed9b18124f2364c5c5f238d72cb1451280ce94c | |
parent | 39dbe30966d277ab8854fbee55e8edc89ad79d7c [diff] |
Pass enable-sym-link to resolvePartialDownload feature when option set. New test_module_config tests fail without this. This fixes it. The @Option is already used to control the feature in a couple places. Test: presubmit with a new Test_Module_config and this in one chain. Test: m google-tradefed-all tradefed-all && ./run_tradefed_tests.sh Sandbox host out log: ``` 06-21 13:06:55 D/TradefedFeatureClient: invoking feature 'resolvePartialDownload' 06-21 13:06:55 D/TradefedFeatureClient: name: "resolvePartialDownload" args { key: "destination_dir" value: "/tmp/tf-workfolder4805643045697225139/device-tests_configs.zip1992263290465672427" } args { key: "enable-resolve-sym-links" value: "true" } args { key: "exclude_filters" value: "[.]config$;[.]jar$" } args { key: "include_filters" value: "/NewMyHelloWorldTests_TEST/" } args { key: "remote_paths" value: "ab:/git_main/aosp_cf_x86_64_only_phone-trunk_staging-userdebug/P76564855/device-tests.zip;ab:/git_main/test_suites_x86_64-trunk_staging/P76564890/general-tests.zip" } reference_id: "0bd51046-6855-4866-8a86-255e5c2be88b" ``` from this build: https://android-build.corp.google.com/test_investigate/invocation/I15100010289787785/test/TR85929350819188677/?status=none Change-Id: Ia3e4cae3ed41a6620466e280663d374cf3bf382c
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/docs/core/tests/tradefed/
See more details about Tradefed Architecture at: https://source.android.com/docs/core/tests/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.