Add support for CTS to ART run-tests running with TradeFed.
Introduce support for an (optional) test metadata file
(`test-metadata.json`), containing (optional) information about the
test suite(s) a test belongs to (in addition to the test suites
defined in `art-run-test-defaults`). If present, propagate that
information to the `test_suites` property of that ART run-test, and if
this property contains "cts", use a test configuration template
containing additional options to (also) make the test part of ART CTS.
(cherry picked from commit ae85e85c26939876d7c9e30be9a2074e5336d210)
Test: Together with CL adding `art-run-test-048-reflect-v8` to CTS:
m cts \
&& cts-tradefed run commandAndExit cts \
--module art-run-test-048-reflect-v8
Test: atest art-run-test-048-reflect-v8 --user-type secondary_user
Bug: 232804314
Bug: 182167496
Change-Id: I2211aaffe6daee377a14e86e14945bb08dd2aa10
Merged-In: I2211aaffe6daee377a14e86e14945bb08dd2aa10
3 files changed