1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2018 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<configuration description="Android test suite config for tests defined in TEST_MAPPING files">
17    <system_checker class="com.android.tradefed.suite.checker.KeyguardStatusChecker" />
18    <system_checker class="com.android.tradefed.suite.checker.TimeStatusChecker" />
19    <system_checker class="com.android.tradefed.suite.checker.DeviceBaselineChecker" />
20    <system_checker class="com.android.tradefed.suite.checker.DeviceSettingChecker" />
21    <system_checker class="com.android.tradefed.suite.checker.DeviceStorageStatusChecker" >
22        <option name="partition" value="/data" />
23        <option name="partition" value="/sdcard" />
24    </system_checker>
25    <system_checker class="com.android.tradefed.suite.checker.SystemServerStatusChecker" />
26    <system_checker class="com.android.tradefed.suite.checker.SystemServerFileDescriptorChecker" />
27    <system_checker class="com.android.tradefed.suite.checker.ShellStatusChecker" />
28
29    <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer">
30        <option name="force-root" value="false" />
31    </target_preparer>
32
33    <test class="com.android.tradefed.testtype.suite.TestMappingSuiteRunner"/>
34
35    <!-- Add failure-retriever to skip retrying known failure -->
36    <template-include name="failure-retriever" default="empty" />
37
38    <!-- Tell all AndroidJUnitTests to exclude certain annotations -->
39    <option name="test-arg" value="com.android.tradefed.testtype.AndroidJUnitTest:exclude-annotation:android.platform.test.annotations.RestrictedBuildTest" />
40    <option name="test-arg" value="com.android.tradefed.testtype.AndroidJUnitTest:exclude-annotation:android.platform.test.annotations.AppModeInstant" />
41
42    <!-- Tell all HostTests to exclude certain annotations -->
43    <option name="test-arg" value="com.android.tradefed.testtype.HostTest:exclude-annotation:android.platform.test.annotations.RestrictedBuildTest" />
44    <option name="test-arg" value="com.android.compatibility.common.tradefed.testtype.JarHostTest:exclude-annotation:android.platform.test.annotations.RestrictedBuildTest" />
45    <option name="test-arg" value="com.android.tradefed.testtype.HostTest:exclude-annotation:android.platform.test.annotations.AppModeInstant" />
46    <option name="test-arg" value="com.android.compatibility.common.tradefed.testtype.JarHostTest:exclude-annotation:android.platform.test.annotations.AppModeInstant" />
47
48    <!-- Force GTest to report binary name in results -->
49    <option name="test-arg" value="com.android.tradefed.testtype.GTest:prepend-filename:true" />
50</configuration>
51