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" /> |
Luke Huang | 0b28368 | 2020-07-08 16:58:33 +0800 | [diff] [blame] | 23 | <option name="config-descriptor:metadata" key="mainline-param" value="CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex" /> |
Remi NGUYEN VAN | 33634a0 | 2021-01-12 21:12:38 +0900 | [diff] [blame] | 24 | <option name="config-descriptor:metadata" key="mainline-param" value="CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex" /> |
Luke Huang | 957333d | 2020-07-28 03:29:17 +0800 | [diff] [blame] | 25 | <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"/> |
Luke Huang | 6b7ff61 | 2020-03-25 15:23:41 +0800 | [diff] [blame] | 26 | <target_preparer class="com.android.compatibility.common.tradefed.targetprep.FilePusher"> |
| 27 | <option name="cleanup" value="true" /> |
| 28 | <option name="push" value="{MODULE}->/data/local/tmp/{MODULE}" /> |
Luke Huang | 0b6c493 | 2020-03-27 17:40:07 +0800 | [diff] [blame] | 29 | <option name="append-bitness" value="true" /> |
Luke Huang | 6b7ff61 | 2020-03-25 15:23:41 +0800 | [diff] [blame] | 30 | </target_preparer> |
Luke Huang | 6b7ff61 | 2020-03-25 15:23:41 +0800 | [diff] [blame] | 31 | <test class="com.android.tradefed.testtype.GTest" > |
| 32 | <option name="native-test-device-path" value="/data/local/tmp" /> |
| 33 | <option name="module-name" value="{MODULE}" /> |
| 34 | <option name="runtime-hint" value="10m" /> |
| 35 | <!-- test-timeout unit is ms, value = 10 min --> |
| 36 | <option name="native-test-timeout" value="600000" /> |
| 37 | </test> |
| 38 | </configuration> |