Address the TODO to link against the library directly, and add necessary test filters to only run the test on the primary ABI (because the library in the apex has only one variant for primary ABI), and to only run the test on U+. Bug: 356022894 Test: atest Change-Id: Ib52bfc1051059aaf9d14d1f7707864206d0bdcd9
32 lines
1.8 KiB
XML
32 lines
1.8 KiB
XML
<!-- Copyright (C) 2022 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<configuration description="Configuration for connectivity {MODULE} tests">
|
|
<option name="test-suite-tag" value="mts" />
|
|
<option name="config-descriptor:metadata" key="mainline-param" value="CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex" />
|
|
<!-- The tested library is only usable on U+ -->
|
|
<object type="module_controller" class="com.android.tradefed.testtype.suite.module.Sdk34ModuleController" />
|
|
<!-- The tested library is only available with the primary abi -->
|
|
<option name="config-descriptor:metadata" key="parameter" value="not_multi_abi" />
|
|
|
|
<target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"/>
|
|
<target_preparer class="com.android.compatibility.common.tradefed.targetprep.FilePusher">
|
|
<option name="cleanup" value="true" />
|
|
<option name="push" value="{MODULE}->/data/local/tmp/{MODULE}" />
|
|
</target_preparer>
|
|
<test class="com.android.tradefed.testtype.GTest" >
|
|
<option name="native-test-device-path" value="/data/local/tmp" />
|
|
<option name="module-name" value="{MODULE}" />
|
|
</test>
|
|
</configuration>
|