xref: /aosp_15_r20/system/apex/tests/vendor-apex-tests.xml (revision 33f3758387333dbd2962d7edbd98681940d895da)
1*33f37583SAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?>
2*33f37583SAndroid Build Coastguard Worker<!-- Copyright (C) 2022 The Android Open Source Project
3*33f37583SAndroid Build Coastguard Worker
4*33f37583SAndroid Build Coastguard Worker     Licensed under the Apache License, Version 2.0 (the "License");
5*33f37583SAndroid Build Coastguard Worker     you may not use this file except in compliance with the License.
6*33f37583SAndroid Build Coastguard Worker     You may obtain a copy of the License at
7*33f37583SAndroid Build Coastguard Worker
8*33f37583SAndroid Build Coastguard Worker          http://www.apache.org/licenses/LICENSE-2.0
9*33f37583SAndroid Build Coastguard Worker
10*33f37583SAndroid Build Coastguard Worker     Unless required by applicable law or agreed to in writing, software
11*33f37583SAndroid Build Coastguard Worker     distributed under the License is distributed on an "AS IS" BASIS,
12*33f37583SAndroid Build Coastguard Worker     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*33f37583SAndroid Build Coastguard Worker     See the License for the specific language governing permissions and
14*33f37583SAndroid Build Coastguard Worker     limitations under the License.
15*33f37583SAndroid Build Coastguard Worker-->
16*33f37583SAndroid Build Coastguard Worker<configuration description="Runs the vendor apex tests">
17*33f37583SAndroid Build Coastguard Worker    <option name="test-suite-tag" value="apct" />
18*33f37583SAndroid Build Coastguard Worker    <option name="config-descriptor:metadata" key="component" value="framework" />
19*33f37583SAndroid Build Coastguard Worker    <!-- Instant apps can't have INSTALL_PACKAGES permission. -->
20*33f37583SAndroid Build Coastguard Worker    <option name="config-descriptor:metadata" key="parameter" value="not_instant_app" />
21*33f37583SAndroid Build Coastguard Worker    <option name="config-descriptor:metadata" key="parameter" value="not_multi_abi" />
22*33f37583SAndroid Build Coastguard Worker    <option name="config-descriptor:metadata" key="parameter" value="no_foldable_states" />
23*33f37583SAndroid Build Coastguard Worker
24*33f37583SAndroid Build Coastguard Worker    <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
25*33f37583SAndroid Build Coastguard Worker        <option name="cleanup-apks" value="true" />
26*33f37583SAndroid Build Coastguard Worker        <option name="test-file-name" value="VendorApexTestsApp.apk" />
27*33f37583SAndroid Build Coastguard Worker    </target_preparer>
28*33f37583SAndroid Build Coastguard Worker    <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"/>
29*33f37583SAndroid Build Coastguard Worker    <test class="com.android.tradefed.testtype.HostTest" >
30*33f37583SAndroid Build Coastguard Worker        <option name="class" value="com.android.tests.apex.host.VendorApexTests" />
31*33f37583SAndroid Build Coastguard Worker    </test>
32*33f37583SAndroid Build Coastguard Worker</configuration>
33