Tag modules for their sim card required

Test: tf/cts unit tests
./cts-tradefed run cts-dev -m CtsNetTestCases --shard-count 2 (with and
without sim card)
./cts-tradefed run cts-dev -m CtsCarrierApiTestCases --shard-count 2
(with and without uicc sim card)
Bug: 69367250

Change-Id: Idcd35b9345be32658a1fd44027b03e5a47ff7e88
This commit is contained in:
Julien Desprez
2018-12-17 12:45:11 -08:00
parent 23ff07b327
commit c2b211f450

View File

@@ -15,6 +15,8 @@
<configuration description="Config for CTS Net test cases"> <configuration description="Config for CTS Net test cases">
<option name="test-suite-tag" value="cts" /> <option name="test-suite-tag" value="cts" />
<option name="config-descriptor:metadata" key="component" value="networking" /> <option name="config-descriptor:metadata" key="component" value="networking" />
<option name="config-descriptor:metadata" key="token" value="SIM_CARD" />
<option name="not-shardable" value="true" />
<target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
<option name="cleanup-apks" value="true" /> <option name="cleanup-apks" value="true" />
<option name="test-file-name" value="CtsNetTestCases.apk" /> <option name="test-file-name" value="CtsNetTestCases.apk" />