blob: d00235a55f436a9ed651e89fbe0e9d67a5aea5c3 [file] [log] [blame]
Roland Levillain7b1547d2021-03-22 15:45:03 +00001<?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 Levillaind8c0ac22021-09-07 00:26:17 +010019 <option name="push" value="art_standalone_libdexfile_tests->/data/local/tmp/art_standalone_libdexfile_tests/art_standalone_libdexfile_tests" />
Roland Levillain7b1547d2021-03-22 15:45:03 +000020 <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 Levillaind8c0ac22021-09-07 00:26:17 +010025 <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 Levillain7b1547d2021-03-22 15:45:03 +000030 </target_preparer>
31
32 <test class="com.android.tradefed.testtype.GTest" >
Roland Levillaind8c0ac22021-09-07 00:26:17 +010033 <option name="native-test-device-path" value="/data/local/tmp/art_standalone_libdexfile_tests" />
Roland Levillain7b1547d2021-03-22 15:45:03 +000034 <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 Levillain302ef332021-07-04 14:21:07 +010038
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 Levillain0d1c54d2021-08-06 19:20:57 +010047
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 Levillain7b1547d2021-03-22 15:45:03 +000050</configuration>