Luke Huang | 6b7ff61 | 2020-03-25 15:23:41 +0800 | [diff] [blame] | 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 | --> |
Luke Huang | 0b6c493 | 2020-03-27 17:40:07 +0800 | [diff] [blame^] | 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. |
Luke Huang | 6b7ff61 | 2020-03-25 15:23:41 +0800 | [diff] [blame] | 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}" /> |
Luke Huang | 0b6c493 | 2020-03-27 17:40:07 +0800 | [diff] [blame^] | 26 | <option name="append-bitness" value="true" /> |
Luke Huang | 6b7ff61 | 2020-03-25 15:23:41 +0800 | [diff] [blame] | 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> |