blob: f594f6f06ed25ea636077a1073ce37952c0c0185 [file] [log] [blame]
Winsonaf8399a2020-06-10 10:34:43 -07001<?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 Chang33025c42021-08-15 23:46:52 +080023 <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 Buynytskyyd4f24d42023-01-23 20:28:45 -080030 <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
31 <option name="cleanup-apks" value="true" />
32 <option name="install-arg" value="-t" />
Alex Buynytskyy3d023c382023-05-09 12:12:41 -070033 <option name="install-arg" value="-g" />
Alex Buynytskyyd4f24d42023-01-23 20:28:45 -080034 <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
Winsonaf8399a2020-06-10 10:34:43 -070047 <test class="com.android.tradefed.testtype.HostTest">
48 <option name="jar" value="PackageManagerServiceHostTests.jar" />
49 </test>
50</configuration>