diff options
author | easoncylee <easoncylee@google.com> | 2022-04-21 11:28:39 +0800 |
---|---|---|
committer | easoncylee <easoncylee@google.com> | 2022-04-21 16:44:14 +0800 |
commit | 1c1f58401c710d1f8c8409d1ab94473e70b787af (patch) | |
tree | f28a76c6e93df58f61f66b1222538c811c56855c | |
parent | 7465fb0ceb7d2cbdc0c40019746df6dfa0f728cc (diff) | |
download | CarrierConfig-1c1f58401c710d1f8c8409d1ab94473e70b787af.tar.gz |
Convert apct/carrierconfig/unit_test-cloud-tf to Test Mapping Suite.
This change does:
1. Add CarrierConfigTests into TEST_MAPPING to make it run in test
mapping suite.
2. Add DeviceFeatureModuleController to force it run only on aosp CF
because apct/carrierconfig/unit_test-cloud-tf only runs on aosp CF.
Bug: 145165552
Bug: 145574049
Test: TreeHugger
atest CarrierConfigTests
Change-Id: I28a8c4ccb856c6a4cc57da159238cae27dfc3fe7
-rw-r--r-- | TEST_MAPPING | 7 | ||||
-rw-r--r-- | tests/AndroidTest.xml | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/TEST_MAPPING b/TEST_MAPPING new file mode 100644 index 0000000..cdbf988 --- /dev/null +++ b/TEST_MAPPING @@ -0,0 +1,7 @@ +{ + "presubmit": [ + { + "name": "CarrierConfigTests" + } + ] +} diff --git a/tests/AndroidTest.xml b/tests/AndroidTest.xml index 1b4eb65..9002ea4 100644 --- a/tests/AndroidTest.xml +++ b/tests/AndroidTest.xml @@ -24,5 +24,8 @@ <option name="package" value="com.android.carrierconfig.tests" /> <option name="runner" value="android.test.InstrumentationTestRunner" /> <option name="hidden-api-checks" value="false"/> - </test> + </test> + <object type="module_controller" class="com.android.tradefed.testtype.suite.module.DeviceFeatureModuleController"> + <option name="forbidden-feature" value="com.google.android.feature.PIXEL_EXPERIENCE" /> + </object> </configuration> |