| Winson | af8399a | 2020-06-10 10:34:43 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright (C) 2020 The Android Open Source Project |
| 4 | ~ |
| 5 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | ~ you may not use this file except in compliance with the License. |
| 7 | ~ You may obtain a copy of the License at |
| 8 | ~ |
| 9 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | ~ |
| 11 | ~ Unless required by applicable law or agreed to in writing, software |
| 12 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | ~ See the License for the specific language governing permissions and |
| 15 | ~ limitations under the License. |
| 16 | --> |
| 17 | |
| 18 | <configuration description="Test module config for PackageManagerServiceHostTests"> |
| 19 | <option name="test-tag" value="PackageManagerServiceHostTests" /> |
| 20 | |
| 21 | <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"/> |
| 22 | |
| Felka Chang | 33025c4 | 2021-08-15 23:46:52 +0800 | [diff] [blame] | 23 | <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer"> |
| 24 | <option name="run-command" |
| 25 | value="pm uninstall com.android.cts.install.lib.testapp.A" /> |
| 26 | <option name="teardown-command" |
| 27 | value="pm uninstall com.android.cts.install.lib.testapp.A" /> |
| 28 | </target_preparer> |
| 29 | |
| Alex Buynytskyy | d4f24d4 | 2023-01-23 20:28:45 -0800 | [diff] [blame] | 30 | <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> |
| 31 | <option name="cleanup-apks" value="true" /> |
| 32 | <option name="install-arg" value="-t" /> |
| Alex Buynytskyy | 3d023c38 | 2023-05-09 12:12:41 -0700 | [diff] [blame] | 33 | <option name="install-arg" value="-g" /> |
| Alex Buynytskyy | d4f24d4 | 2023-01-23 20:28:45 -0800 | [diff] [blame] | 34 | <option name="test-file-name" value="PackageManagerServiceServerTests.apk" /> |
| 35 | </target_preparer> |
| 36 | |
| 37 | <target_preparer class="com.android.compatibility.common.tradefed.targetprep.FilePusher"> |
| 38 | <!-- The build system produces both 32 and 64 bit variants with bitness suffix. Let |
| 39 | FilePusher find the filename with bitness and push to a remote name without bitness. |
| 40 | --> |
| 41 | <option name="append-bitness" value="true" /> |
| 42 | <option name="cleanup" value="true" /> |
| 43 | <option name="push" value="block_device_writer->/data/local/tmp/block_device_writer" /> |
| 44 | <option name="push" value="fsverity_multilib->/data/local/tmp/fsverity_multilib" /> |
| 45 | </target_preparer> |
| 46 | |
| Winson | af8399a | 2020-06-10 10:34:43 -0700 | [diff] [blame] | 47 | <test class="com.android.tradefed.testtype.HostTest"> |
| 48 | <option name="jar" value="PackageManagerServiceHostTests.jar" /> |
| 49 | </test> |
| 50 | </configuration> |