Mikhail Naganov | 7b2d12b | 2023-03-24 18:29:14 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2023 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 | --> |
Mikhail Naganov | b80de7b | 2023-12-27 14:13:31 -0800 | [diff] [blame] | 16 | <configuration description="Runs {MODULE}."> |
Mikhail Naganov | 7b2d12b | 2023-03-24 18:29:14 -0700 | [diff] [blame] | 17 | <option name="test-suite-tag" value="apct" /> |
| 18 | <option name="test-suite-tag" value="apct-native" /> |
| 19 | |
| 20 | <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"/> |
| 21 | <target_preparer class="com.android.tradefed.targetprep.StopServicesSetup"/> |
| 22 | |
| 23 | <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer"> |
| 24 | <option name="run-command" value="setprop vts.native_server.on 1"/> |
| 25 | <option name="teardown-command" value="setprop vts.native_server.on 0"/> |
| 26 | </target_preparer> |
| 27 | |
Mikhail Naganov | cf824f6 | 2023-07-24 14:51:36 -0700 | [diff] [blame] | 28 | <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer"> |
| 29 | <option name="cleanup" value="true" /> |
Mikhail Naganov | b80de7b | 2023-12-27 14:13:31 -0800 | [diff] [blame] | 30 | <option name="push" value="{MODULE}->/data/local/tmp/{MODULE}" /> |
Mikhail Naganov | cf824f6 | 2023-07-24 14:51:36 -0700 | [diff] [blame] | 31 | </target_preparer> |
| 32 | |
Mikhail Naganov | 7b2d12b | 2023-03-24 18:29:14 -0700 | [diff] [blame] | 33 | <test class="com.android.tradefed.testtype.GTest" > |
| 34 | <option name="native-test-device-path" value="/data/local/tmp" /> |
Mikhail Naganov | b80de7b | 2023-12-27 14:13:31 -0800 | [diff] [blame] | 35 | <option name="module-name" value="{MODULE}" /> |
Mikhail Naganov | 7b2d12b | 2023-03-24 18:29:14 -0700 | [diff] [blame] | 36 | <option name="native-test-timeout" value="10m" /> |
| 37 | </test> |
| 38 | </configuration> |