commit | 9499d20e0456373664c7ef17f8f54b3c16cb59e6 | [log] [tgz] |
---|---|---|
author | Dan Shi <dshi@google.com> | Thu May 10 11:00:11 2018 -0700 |
committer | Dan Shi <dshi@google.com> | Tue May 22 09:23:20 2018 -0700 |
tree | 57ac2a7a8499f7c9cea6f0b7ed60a236a659caa4 | |
parent | 881d4fc4a821aaa5256d343d5fdb47bd9d4960d3 [diff] |
Support module-arg in TEST_MAPPING files This change allows TEST_MAPPING json file to include module-arg for each test module. The module args will be added to suite runner for each test module. An example of a test with option in TEST_MAPPING looks like this: { "name": "test2", "options": [ { "instrumentation-arg": "annotation=android.platform.test.annotations.Presubmit" } ] } When TradeFed runs a suite for this TEST_MAPPING file, the command line will be like: tradefed.sh run ... --include-filter test2 --module-arg \ test2:instrumentation-arg:annotation=android.platform.test.annotations.Presubmit Bug: 79529839 Test: unittest Change-Id: I58aaf339f810a5666277abb1aa2703cf6f00d97d
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:
More information at: https://source.android.com/devices/tech/test_infra/tradefed/