1*795d594fSAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?> 2*795d594fSAndroid Build Coastguard Worker<!-- Copyright (C) 2020 The Android Open Source Project 3*795d594fSAndroid Build Coastguard Worker 4*795d594fSAndroid Build Coastguard Worker Licensed under the Apache License, Version 2.0 (the "License"); 5*795d594fSAndroid Build Coastguard Worker you may not use this file except in compliance with the License. 6*795d594fSAndroid Build Coastguard Worker You may obtain a copy of the License at 7*795d594fSAndroid Build Coastguard Worker 8*795d594fSAndroid Build Coastguard Worker http://www.apache.org/licenses/LICENSE-2.0 9*795d594fSAndroid Build Coastguard Worker 10*795d594fSAndroid Build Coastguard Worker Unless required by applicable law or agreed to in writing, software 11*795d594fSAndroid Build Coastguard Worker distributed under the License is distributed on an "AS IS" BASIS, 12*795d594fSAndroid Build Coastguard Worker WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*795d594fSAndroid Build Coastguard Worker See the License for the specific language governing permissions and 14*795d594fSAndroid Build Coastguard Worker limitations under the License. 15*795d594fSAndroid Build Coastguard Worker--> 16*795d594fSAndroid Build Coastguard Worker<configuration description="ART gtests for target (using apex installation)"> 17*795d594fSAndroid Build Coastguard Worker <option name="test-suite-tag" value="art" /> 18*795d594fSAndroid Build Coastguard Worker <option name="test-suite-tag" value="art-target-gtest-install-apex" /> 19*795d594fSAndroid Build Coastguard Worker 20*795d594fSAndroid Build Coastguard Worker <target_preparer class="com.android.tradefed.targetprep.InstallApexModuleTargetPreparer" > 21*795d594fSAndroid Build Coastguard Worker <option name="test-file-name" value="com.android.art.testing.apex" /> 22*795d594fSAndroid Build Coastguard Worker </target_preparer> 23*795d594fSAndroid Build Coastguard Worker 24*795d594fSAndroid Build Coastguard Worker <test class="com.android.tradefed.testtype.GTest" > 25*795d594fSAndroid Build Coastguard Worker <!-- TODO(b/147821328): These tests do not work since they need to write to /system --> 26*795d594fSAndroid Build Coastguard Worker <option name="exclude-filter" value="HiddenApiTest.DexDomain_System*:OatFileAssistantBaseTest.SystemFrameworkDir" /> 27*795d594fSAndroid Build Coastguard Worker <option name="native-test-timeout" value="600000" /> <!-- 10 min --> 28*795d594fSAndroid Build Coastguard Worker <option name="native-test-device-path" value="/apex/com.android.art/bin/art" /> 29*795d594fSAndroid Build Coastguard Worker </test> 30*795d594fSAndroid Build Coastguard Worker 31*795d594fSAndroid Build Coastguard Worker <!-- When this test is run in a Mainline context (e.g. with `mts-tradefed`), only enable it if 32*795d594fSAndroid Build Coastguard Worker one of the Mainline modules below is present on the device used for testing. --> 33*795d594fSAndroid Build Coastguard Worker <object type="module_controller" class="com.android.tradefed.testtype.suite.module.MainlineTestModuleController"> 34*795d594fSAndroid Build Coastguard Worker <!-- ART Mainline Module (internal version). --> 35*795d594fSAndroid Build Coastguard Worker <option name="mainline-module-package-name" value="com.google.android.art" /> 36*795d594fSAndroid Build Coastguard Worker <!-- ART Mainline Module (external (AOSP) version). --> 37*795d594fSAndroid Build Coastguard Worker <option name="mainline-module-package-name" value="com.android.art" /> 38*795d594fSAndroid Build Coastguard Worker </object> 39*795d594fSAndroid Build Coastguard Worker 40*795d594fSAndroid Build Coastguard Worker <!-- Only run tests if the device under test is SDK version 31 (Android 12) or above. --> 41*795d594fSAndroid Build Coastguard Worker <object type="module_controller" class="com.android.tradefed.testtype.suite.module.Sdk31ModuleController" /> 42*795d594fSAndroid Build Coastguard Worker</configuration> 43