David Srbecky | ee25716 | 2020-02-28 15:50:13 +0000 | [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 | --> |
David Srbecky | f61e061 | 2020-08-14 16:13:35 +0100 | [diff] [blame] | 16 | <configuration description="ART gtests for target (using apex installation)"> |
David Srbecky | 262925e | 2020-05-27 13:17:39 +0100 | [diff] [blame] | 17 | <option name="test-suite-tag" value="art" /> |
David Srbecky | f61e061 | 2020-08-14 16:13:35 +0100 | [diff] [blame] | 18 | <option name="test-suite-tag" value="art-target-gtest-install-apex" /> |
Roland Levillain | da946fc | 2021-01-05 23:43:49 +0000 | [diff] [blame] | 19 | |
David Srbecky | ee25716 | 2020-02-28 15:50:13 +0000 | [diff] [blame] | 20 | <target_preparer class="com.android.tradefed.targetprep.InstallApexModuleTargetPreparer" > |
| 21 | <option name="test-file-name" value="com.android.art.testing.apex" /> |
| 22 | </target_preparer> |
Roland Levillain | da946fc | 2021-01-05 23:43:49 +0000 | [diff] [blame] | 23 | |
David Srbecky | ee25716 | 2020-02-28 15:50:13 +0000 | [diff] [blame] | 24 | <test class="com.android.tradefed.testtype.GTest" > |
David Srbecky | f61e061 | 2020-08-14 16:13:35 +0100 | [diff] [blame] | 25 | <!-- TODO(b/147821328): These tests do not work since they need to write to /system --> |
David Srbecky | ee25716 | 2020-02-28 15:50:13 +0000 | [diff] [blame] | 26 | <option name="exclude-filter" value="HiddenApiTest.DexDomain_System*:OatFileAssistantTest.SystemFrameworkDir" /> |
| 27 | <option name="native-test-timeout" value="600000" /> <!-- 10 min --> |
| 28 | <option name="native-test-device-path" value="/apex/com.android.art/bin/art" /> |
| 29 | </test> |
Roland Levillain | da946fc | 2021-01-05 23:43:49 +0000 | [diff] [blame] | 30 | |
Roland Levillain | de1449e | 2021-02-24 10:35:44 +0000 | [diff] [blame] | 31 | <!-- When this test is run in a Mainline context (e.g. with `mts-tradefed`), only enable it if |
Roland Levillain | d64dc6d | 2021-04-19 15:05:14 +0100 | [diff] [blame] | 32 | one of the Mainline modules below is present on the device used for testing. --> |
Roland Levillain | da946fc | 2021-01-05 23:43:49 +0000 | [diff] [blame] | 33 | <object type="module_controller" class="com.android.tradefed.testtype.suite.module.MainlineTestModuleController"> |
Roland Levillain | de1449e | 2021-02-24 10:35:44 +0000 | [diff] [blame] | 34 | <!-- ART Mainline Module (internal version). --> |
Roland Levillain | da946fc | 2021-01-05 23:43:49 +0000 | [diff] [blame] | 35 | <option name="mainline-module-package-name" value="com.google.android.art" /> |
Roland Levillain | de1449e | 2021-02-24 10:35:44 +0000 | [diff] [blame] | 36 | <!-- ART Mainline Module (external (AOSP) version). --> |
| 37 | <option name="mainline-module-package-name" value="com.android.art" /> |
Roland Levillain | da946fc | 2021-01-05 23:43:49 +0000 | [diff] [blame] | 38 | </object> |
Roland Levillain | 0d1c54d | 2021-08-06 19:20:57 +0100 | [diff] [blame] | 39 | |
Roland Levillain | 8884d3d | 2022-01-04 16:12:00 +0000 | [diff] [blame] | 40 | <!-- Only run tests if the device under test is SDK version 31 (Android 12) or above. --> |
Roland Levillain | 0d1c54d | 2021-08-06 19:20:57 +0100 | [diff] [blame] | 41 | <object type="module_controller" class="com.android.tradefed.testtype.suite.module.Sdk31ModuleController" /> |
David Srbecky | ee25716 | 2020-02-28 15:50:13 +0000 | [diff] [blame] | 42 | </configuration> |