1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2021 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16<configuration description="Tests for CompOS"> 17 <option name="config-descriptor:metadata" key="mainline-param" value="com.google.android.art.apex" /> 18 <option name="config-descriptor:metadata" key="mainline-param" value="com.android.art.apex" /> 19 20 <!-- Only run tests if the device under test is SDK version 33 (Android 13) or above. --> 21 <object type="module_controller" 22 class="com.android.tradefed.testtype.suite.module.Sdk33ModuleController" /> 23 24 <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"> 25 <option name="force-root" value="true" /> 26 </target_preparer> 27 28 <target_preparer class="com.android.tradefed.targetprep.DeviceSetup"> 29 <!-- Run in single thread to avoid nondeterministics. --> 30 <option name="set-property" key="dalvik.vm.boot-dex2oat-threads" value="1" /> 31 </target_preparer> 32 33 <test class="com.android.compatibility.common.tradefed.testtype.JarHostTest" > 34 <option name="jar" value="ComposHostTestCases.jar" /> 35 </test> 36</configuration> 37