blob: 62edd9e0b11fa2ab5030f4aab7966fd0b77f9519 [file] [log] [blame]
David Srbeckyf61e0612020-08-14 16:13:35 +01001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2020 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="ART gtests for target (using chroot)">
17 <option name="test-suite-tag" value="art-target-gtest-chroot" />
Roland Levillainda946fc2021-01-05 23:43:49 +000018
David Srbeckyf61e0612020-08-14 16:13:35 +010019 <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer" />
20 <target_preparer class="com.android.tradefed.targetprep.DisableSELinuxTargetPreparer" />
21 <target_preparer class="com.android.tradefed.targetprep.ArtChrootPreparer" />
Roland Levillainda946fc2021-01-05 23:43:49 +000022
David Srbeckyf61e0612020-08-14 16:13:35 +010023 <test class="com.android.tradefed.testtype.ArtGTest" >
24 <!-- TODO(b/147821328): These tests do not work since they need to write to /system -->
25 <option name="exclude-filter" value="HiddenApiTest.DexDomain_System*:OatFileAssistantTest.SystemFrameworkDir" />
David Srbeckyf61e0612020-08-14 16:13:35 +010026 <option name="native-test-timeout" value="600000" />
27 <option name="native-test-device-path" value="/data/local/tmp/art-test-chroot/apex/com.android.art/bin/art" />
28 </test>
Roland Levillainda946fc2021-01-05 23:43:49 +000029
Roland Levillainde1449e2021-02-24 10:35:44 +000030 <!-- When this test is run in a Mainline context (e.g. with `mts-tradefed`), only enable it if
31 one the Mainline modules below is present on the device used for testing. -->
Roland Levillainda946fc2021-01-05 23:43:49 +000032 <object type="module_controller" class="com.android.tradefed.testtype.suite.module.MainlineTestModuleController">
Roland Levillainde1449e2021-02-24 10:35:44 +000033 <!-- ART Mainline Module (internal version). -->
Roland Levillainda946fc2021-01-05 23:43:49 +000034 <option name="mainline-module-package-name" value="com.google.android.art" />
Roland Levillainde1449e2021-02-24 10:35:44 +000035 <!-- ART Mainline Module (external (AOSP) version). -->
36 <option name="mainline-module-package-name" value="com.android.art" />
Roland Levillainda946fc2021-01-05 23:43:49 +000037 </object>
David Srbeckyf61e0612020-08-14 16:13:35 +010038</configuration>