1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2020 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<!-- Workaround for MTS coverage because test infra is running the 64 bit
17     test suite on cf_x86_phone (32-bit). See b/147785146 for details.
18     We need to push the correct binary against the architecture of
19     test device with "append-bitness" option.
20-->
21<configuration description="Configuration for {MODULE} tests">
22   <option name="test-suite-tag" value="mts" />
23   <target_preparer class="com.android.compatibility.common.tradefed.targetprep.FilePusher">
24       <option name="cleanup" value="true" />
25       <option name="push" value="{MODULE}->/data/local/tmp/{MODULE}" />
26       <option name="append-bitness" value="true" />
27   </target_preparer>
28   <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"/>
29   <test class="com.android.tradefed.testtype.GTest" >
30       <option name="native-test-device-path" value="/data/local/tmp" />
31       <option name="module-name" value="{MODULE}" />
32       <option name="runtime-hint" value="10m" />
33       <!-- test-timeout unit is ms, value = 10 min -->
34       <option name="native-test-timeout" value="600000" />
35   </test>
36</configuration>
37