1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2022 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 ~ Native test configuration for boringssl_ssl_test. 18 --> 19<configuration description="Configuration for BoringSSL native tests"> 20 <option name="test-suite-tag" value="mts-conscrypt"/> 21 22 <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"> 23 <option name="force-root" value="false" /> 24 </target_preparer> 25 26 <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer"> 27 <option name="cleanup" value="true" /> 28 <option name="push" value="boringssl_ssl_test->/data/local/tmp/boringssl_ssl_test" /> 29 </target_preparer> 30 31 <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer"> 32 <option name="run-command" value="ln -s /data/local/tmp/boringssl_ssl_test/*/src /data/local/tmp/boringssl_ssl_test/src"/> 33 </target_preparer> 34 35 <test class="com.android.tradefed.testtype.GTest" > 36 <option name="native-test-device-path" value="/data/local/tmp" /> 37 <option name="module-name" value="boringssl_ssl_test" /> 38 <option name="runtime-hint" value="10m" /> 39 <option name="native-test-timeout" value="600000" /> 40 <option name="gtest-env" value="BORINGSSL_TEST_DATA_ROOT=/data/local/tmp/boringssl_ssl_test/src" /> 41 </test> 42</configuration> 43