1*e1997b9aSAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?> 2*e1997b9aSAndroid Build Coastguard Worker<!-- Copyright (C) 2022 The Android Open Source Project 3*e1997b9aSAndroid Build Coastguard Worker 4*e1997b9aSAndroid Build Coastguard Worker Licensed under the Apache License, Version 2.0 (the "License"); 5*e1997b9aSAndroid Build Coastguard Worker you may not use this file except in compliance with the License. 6*e1997b9aSAndroid Build Coastguard Worker You may obtain a copy of the License at 7*e1997b9aSAndroid Build Coastguard Worker 8*e1997b9aSAndroid Build Coastguard Worker http://www.apache.org/licenses/LICENSE-2.0 9*e1997b9aSAndroid Build Coastguard Worker 10*e1997b9aSAndroid Build Coastguard Worker Unless required by applicable law or agreed to in writing, software 11*e1997b9aSAndroid Build Coastguard Worker distributed under the License is distributed on an "AS IS" BASIS, 12*e1997b9aSAndroid Build Coastguard Worker WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*e1997b9aSAndroid Build Coastguard Worker See the License for the specific language governing permissions and 14*e1997b9aSAndroid Build Coastguard Worker limitations under the License. 15*e1997b9aSAndroid Build Coastguard Worker--> 16*e1997b9aSAndroid Build Coastguard Worker<configuration description="Config to run keystore2_client_tests device tests."> 17*e1997b9aSAndroid Build Coastguard Worker 18*e1997b9aSAndroid Build Coastguard Worker <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"> 19*e1997b9aSAndroid Build Coastguard Worker </target_preparer> 20*e1997b9aSAndroid Build Coastguard Worker 21*e1997b9aSAndroid Build Coastguard Worker <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer"> 22*e1997b9aSAndroid Build Coastguard Worker <option name="cleanup" value="true" /> 23*e1997b9aSAndroid Build Coastguard Worker <option 24*e1997b9aSAndroid Build Coastguard Worker name="push" 25*e1997b9aSAndroid Build Coastguard Worker value="keystore2_client_tests->/data/local/tmp/keystore2_client_tests" 26*e1997b9aSAndroid Build Coastguard Worker /> 27*e1997b9aSAndroid Build Coastguard Worker </target_preparer> 28*e1997b9aSAndroid Build Coastguard Worker 29*e1997b9aSAndroid Build Coastguard Worker <test class="com.android.tradefed.testtype.rust.RustBinaryTest" > 30*e1997b9aSAndroid Build Coastguard Worker <option name="test-device-path" value="/data/local/tmp" /> 31*e1997b9aSAndroid Build Coastguard Worker <option name="module-name" value="keystore2_client_tests" /> 32*e1997b9aSAndroid Build Coastguard Worker <!-- When we run run multiple tests by default they run in parallel. 33*e1997b9aSAndroid Build Coastguard Worker This will create issue as we create various child/user contexts 34*e1997b9aSAndroid Build Coastguard Worker in a test leading to issues with IPC. 35*e1997b9aSAndroid Build Coastguard Worker Serializing tests with below configuration to avoid IPC issues. 36*e1997b9aSAndroid Build Coastguard Worker --> 37*e1997b9aSAndroid Build Coastguard Worker <option name="native-test-flag" value="--test-threads=1" /> 38*e1997b9aSAndroid Build Coastguard Worker </test> 39*e1997b9aSAndroid Build Coastguard Worker</configuration> 40