blob: c92e8520afa8e05058f934c03b234dc29ab22f64 [file] [log] [blame]
Mikhail Naganov7b2d12b2023-03-24 18:29:14 -07001<?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 Naganovb80de7b2023-12-27 14:13:31 -080016<configuration description="Runs {MODULE}.">
Mikhail Naganov7b2d12b2023-03-24 18:29:14 -070017 <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 Naganovcf824f62023-07-24 14:51:36 -070028 <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
29 <option name="cleanup" value="true" />
Mikhail Naganovb80de7b2023-12-27 14:13:31 -080030 <option name="push" value="{MODULE}->/data/local/tmp/{MODULE}" />
Mikhail Naganovcf824f62023-07-24 14:51:36 -070031 </target_preparer>
32
Mikhail Naganov7b2d12b2023-03-24 18:29:14 -070033 <test class="com.android.tradefed.testtype.GTest" >
34 <option name="native-test-device-path" value="/data/local/tmp" />
Mikhail Naganovb80de7b2023-12-27 14:13:31 -080035 <option name="module-name" value="{MODULE}" />
Mikhail Naganov7b2d12b2023-03-24 18:29:14 -070036 <option name="native-test-timeout" value="10m" />
37 </test>
38</configuration>