blob: 5784f267b66af46c3d7642a88a7f5e9e3f74dfaa [file] [log] [blame]
Jaewan Kim329c7102023-08-30 16:50:55 +09001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright 2023 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="Host driven tests for pvmfw with customization">
17 <option name="config-descriptor:metadata" key="parameter" value="not_instant_app" />
18 <option name="config-descriptor:metadata" key="parameter" value="not_multi_abi" />
19 <option name="config-descriptor:metadata" key="parameter" value="secondary_user" />
20
21 <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer">
22 <option name="force-root" value="true"/>
23 </target_preparer>
24
Jaewan Kim541cb0c2024-03-12 21:09:16 +090025 <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
26 <option name="throw-if-cmd-fail" value="true" />
27 <!-- Prepare test directories. -->
28 <option name="run-command" value="mkdir -p /data/local/tmp/pvmfw" />
29 <option name="teardown-command" value="rm -rf /data/local/tmp/pvmfw" />
30 </target_preparer>
31
32 <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
33 <option name="cleanup" value="true" />
34 <option name="abort-on-push-failure" value="true" />
35 <option name="push-file" key="dtc_static" value="/data/local/tmp/pvmfw/dtc_static" />
36 </target_preparer>
37
38 <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
39 <option name="throw-if-cmd-fail" value="true" />
40 <option name="run-command" value="[ ! -d /proc/device-tree/avf/reference ] || /data/local/tmp/pvmfw/dtc_static -f -qqq /proc/device-tree/avf/reference -o /data/local/tmp/pvmfw/reference_dt.dtb" />
41 </target_preparer>
42
Jaewan Kim329c7102023-08-30 16:50:55 +090043 <test class="com.android.compatibility.common.tradefed.testtype.JarHostTest" >
44 <option name="jar" value="CustomPvmfwHostTestCases.jar" />
45 </test>
46</configuration>