Roland Levillain | 7b1547d | 2021-03-22 15:45:03 +0000 | [diff] [blame] | 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="Runs art_standalone_libdexfile_tests."> |
| 17 | <target_preparer class="com.android.compatibility.common.tradefed.targetprep.FilePusher"> |
| 18 | <option name="cleanup" value="true" /> |
Roland Levillain | d8c0ac2 | 2021-09-07 00:26:17 +0100 | [diff] [blame] | 19 | <option name="push" value="art_standalone_libdexfile_tests->/data/local/tmp/art_standalone_libdexfile_tests/art_standalone_libdexfile_tests" /> |
Roland Levillain | 7b1547d | 2021-03-22 15:45:03 +0000 | [diff] [blame] | 20 | <option name="append-bitness" value="true" /> |
| 21 | </target_preparer> |
| 22 | |
| 23 | <target_preparer class="com.android.compatibility.common.tradefed.targetprep.FilePusher"> |
| 24 | <option name="cleanup" value="true" /> |
Roland Levillain | d8c0ac2 | 2021-09-07 00:26:17 +0100 | [diff] [blame] | 25 | <option name="push" value="art-gtest-jars-GetMethodSignature.jar->/data/local/tmp/art_standalone_libdexfile_tests/art-gtest-jars-GetMethodSignature.jar" /> |
| 26 | <option name="push" value="art-gtest-jars-Lookup.jar->/data/local/tmp/art_standalone_libdexfile_tests/art-gtest-jars-Lookup.jar" /> |
| 27 | <option name="push" value="art-gtest-jars-Main.jar->/data/local/tmp/art_standalone_libdexfile_tests/art-gtest-jars-Main.jar" /> |
| 28 | <option name="push" value="art-gtest-jars-MultiDex.jar->/data/local/tmp/art_standalone_libdexfile_tests/art-gtest-jars-MultiDex.jar" /> |
| 29 | <option name="push" value="art-gtest-jars-Nested.jar->/data/local/tmp/art_standalone_libdexfile_tests/art-gtest-jars-Nested.jar" /> |
Roland Levillain | 7b1547d | 2021-03-22 15:45:03 +0000 | [diff] [blame] | 30 | </target_preparer> |
| 31 | |
| 32 | <test class="com.android.tradefed.testtype.GTest" > |
Roland Levillain | d8c0ac2 | 2021-09-07 00:26:17 +0100 | [diff] [blame] | 33 | <option name="native-test-device-path" value="/data/local/tmp/art_standalone_libdexfile_tests" /> |
Roland Levillain | 7b1547d | 2021-03-22 15:45:03 +0000 | [diff] [blame] | 34 | <option name="module-name" value="art_standalone_libdexfile_tests" /> |
| 35 | <option name="ld-library-path-32" value="/apex/com.android.art/lib" /> |
| 36 | <option name="ld-library-path-64" value="/apex/com.android.art/lib64" /> |
| 37 | </test> |
Roland Levillain | 302ef33 | 2021-07-04 14:21:07 +0100 | [diff] [blame] | 38 | |
| 39 | <!-- When this test is run in a Mainline context (e.g. with `mts-tradefed`), only enable it if |
| 40 | one of the Mainline modules below is present on the device used for testing. --> |
| 41 | <object type="module_controller" class="com.android.tradefed.testtype.suite.module.MainlineTestModuleController"> |
| 42 | <!-- ART Mainline Module (internal version). --> |
| 43 | <option name="mainline-module-package-name" value="com.google.android.art" /> |
| 44 | <!-- ART Mainline Module (external (AOSP) version). --> |
| 45 | <option name="mainline-module-package-name" value="com.android.art" /> |
| 46 | </object> |
Roland Levillain | 0d1c54d | 2021-08-06 19:20:57 +0100 | [diff] [blame] | 47 | |
| 48 | <!--- Only run tests if the device under test is SDK version 31 (Android 12) or above. --> |
| 49 | <object type="module_controller" class="com.android.tradefed.testtype.suite.module.Sdk31ModuleController" /> |
Roland Levillain | 7b1547d | 2021-03-22 15:45:03 +0000 | [diff] [blame] | 50 | </configuration> |