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
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>