David Srbecky | f61e061 | 2020-08-14 16:13:35 +0100 | [diff] [blame] | 1 | <?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 Levillain | da946fc | 2021-01-05 23:43:49 +0000 | [diff] [blame] | 18 | |
David Srbecky | f61e061 | 2020-08-14 16:13:35 +0100 | [diff] [blame] | 19 | <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 Levillain | da946fc | 2021-01-05 23:43:49 +0000 | [diff] [blame] | 22 | |
David Srbecky | f61e061 | 2020-08-14 16:13:35 +0100 | [diff] [blame] | 23 | <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 Srbecky | f61e061 | 2020-08-14 16:13:35 +0100 | [diff] [blame] | 26 | <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 Levillain | da946fc | 2021-01-05 23:43:49 +0000 | [diff] [blame] | 29 | |
Roland Levillain | de1449e | 2021-02-24 10:35:44 +0000 | [diff] [blame^] | 30 | <!-- 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 Levillain | da946fc | 2021-01-05 23:43:49 +0000 | [diff] [blame] | 32 | <object type="module_controller" class="com.android.tradefed.testtype.suite.module.MainlineTestModuleController"> |
Roland Levillain | de1449e | 2021-02-24 10:35:44 +0000 | [diff] [blame^] | 33 | <!-- ART Mainline Module (internal version). --> |
Roland Levillain | da946fc | 2021-01-05 23:43:49 +0000 | [diff] [blame] | 34 | <option name="mainline-module-package-name" value="com.google.android.art" /> |
Roland Levillain | de1449e | 2021-02-24 10:35:44 +0000 | [diff] [blame^] | 35 | <!-- ART Mainline Module (external (AOSP) version). --> |
| 36 | <option name="mainline-module-package-name" value="com.android.art" /> |
Roland Levillain | da946fc | 2021-01-05 23:43:49 +0000 | [diff] [blame] | 37 | </object> |
David Srbecky | f61e061 | 2020-08-14 16:13:35 +0100 | [diff] [blame] | 38 | </configuration> |