blob: 715f35274c40b4b2778b2fead55cf495364e2e50 [file] [log] [blame]
Jiyong Parkf29fe392021-07-15 06:03:31 +00001<?xml version="1.0" encoding="utf-8"?>
Alice Wange4829c82022-10-18 14:05:28 +00002<!-- Copyright (C) 2022 The Android Open Source Project
Jiyong Parkf29fe392021-07-15 06:03:31 +00003
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
17<configuration description="Config for authfs tests">
18 <!-- Need root to start virtualizationservice -->
19 <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"/>
20
Victor Hsieh5534e522021-07-15 08:46:56 -070021 <!-- Still need to define SELinux policy for authfs and fd_server properly. -->
Jiyong Parkf29fe392021-07-15 06:03:31 +000022 <target_preparer class="com.android.tradefed.targetprep.DisableSELinuxTargetPreparer"/>
23
Jiyong Parkf29fe392021-07-15 06:03:31 +000024 <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
25 <option name="throw-if-cmd-fail" value="true" />
Victor Hsieh45636232021-10-15 17:52:51 -070026 <!-- Prepare test directories. -->
Jiyong Parkf29fe392021-07-15 06:03:31 +000027 <option name="run-command" value="mkdir -p /data/local/tmp/authfs/mnt" />
28 <option name="teardown-command" value="rm -rf /data/local/tmp/authfs" />
29 </target_preparer>
30
31 <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
32 <option name="cleanup" value="true" />
33 <option name="abort-on-push-failure" value="true" />
Victor Hsiehae67d3b2021-10-19 12:59:42 -070034
35 <!-- Test executable -->
Victor Hsieh45636232021-10-15 17:52:51 -070036 <option name="push-file" key="open_then_run" value="/data/local/tmp/open_then_run" />
Victor Hsiehae67d3b2021-10-19 12:59:42 -070037
38 <!-- Test data files -->
Jiyong Parkf29fe392021-07-15 06:03:31 +000039 <option name="push-file" key="cert.der" value="/data/local/tmp/authfs/cert.der" />
40 <option name="push-file" key="input.4m" value="/data/local/tmp/authfs/input.4m" />
Inseob Kimc0886c22021-12-13 17:41:24 +090041 <option name="push-file" key="input.4m.fsv_meta"
42 value="/data/local/tmp/authfs/input.4m.fsv_meta" />
Victor Hsieh6e8fab82022-01-31 16:31:11 +000043 </target_preparer>
44
Jaewan Kim15819f52023-03-29 16:19:56 +090045 <target_preparer class="com.android.microdroid.test.preparer.DisableMicrodroidDebugPolicyPreparer" />
46
Jiyong Parkf29fe392021-07-15 06:03:31 +000047 <test class="com.android.compatibility.common.tradefed.testtype.JarHostTest" >
Alice Wange4829c82022-10-18 14:05:28 +000048 <option name="jar" value="AuthFsBenchmarks.jar" />
Jiyong Parkf29fe392021-07-15 06:03:31 +000049 </test>
50</configuration>