blob: 7db36f7e779aaaec02505b90f0a82945322a9bd1 [file] [log] [blame]
Rajesh Nyamagoudb881d512021-12-10 00:33:15 +00001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2022 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="Config to run keystore2_client_tests device tests.">
Rajesh Nyamagoudb881d512021-12-10 00:33:15 +000017
18 <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer">
19 </target_preparer>
20
21 <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
22 <option name="cleanup" value="true" />
23 <option
24 name="push"
25 value="keystore2_client_tests->/data/local/tmp/keystore2_client_tests"
26 />
27 </target_preparer>
28
29 <test class="com.android.tradefed.testtype.rust.RustBinaryTest" >
30 <option name="test-device-path" value="/data/local/tmp" />
31 <option name="module-name" value="keystore2_client_tests" />
32 <!-- When we run run multiple tests by default they run in parallel.
33 This will create issue as we create various child/user contexts
34 in a test leading to issues with IPC.
35 Serializing tests with below configuration to avoid IPC issues.
36 -->
37 <option name="native-test-flag" value="--test-threads=1" />
38 </test>
39</configuration>