| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2018 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <configuration description="Android test suite config for tests defined in TEST_MAPPING files"> |
| <system_checker class="com.android.tradefed.suite.checker.KeyguardStatusChecker" /> |
| <system_checker class="com.android.tradefed.suite.checker.TimeStatusChecker" /> |
| <system_checker class="com.android.tradefed.suite.checker.DeviceBaselineChecker" /> |
| <system_checker class="com.android.tradefed.suite.checker.DeviceSettingChecker" /> |
| <system_checker class="com.android.tradefed.suite.checker.DeviceStorageStatusChecker" > |
| <option name="partition" value="/data" /> |
| <option name="partition" value="/sdcard" /> |
| </system_checker> |
| <system_checker class="com.android.tradefed.suite.checker.SystemServerStatusChecker" /> |
| <system_checker class="com.android.tradefed.suite.checker.SystemServerFileDescriptorChecker" /> |
| <system_checker class="com.android.tradefed.suite.checker.ShellStatusChecker" /> |
| |
| <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"> |
| <option name="force-root" value="false" /> |
| </target_preparer> |
| |
| <test class="com.android.tradefed.testtype.suite.TestMappingSuiteRunner"/> |
| |
| <!-- Add failure-retriever to skip retrying known failure --> |
| <template-include name="failure-retriever" default="empty" /> |
| |
| <!-- Tell all AndroidJUnitTests to exclude certain annotations --> |
| <option name="test-arg" value="com.android.tradefed.testtype.AndroidJUnitTest:exclude-annotation:android.platform.test.annotations.RestrictedBuildTest" /> |
| <option name="test-arg" value="com.android.tradefed.testtype.AndroidJUnitTest:exclude-annotation:android.platform.test.annotations.AppModeInstant" /> |
| |
| <!-- Tell all HostTests to exclude certain annotations --> |
| <option name="test-arg" value="com.android.tradefed.testtype.HostTest:exclude-annotation:android.platform.test.annotations.RestrictedBuildTest" /> |
| <option name="test-arg" value="com.android.compatibility.common.tradefed.testtype.JarHostTest:exclude-annotation:android.platform.test.annotations.RestrictedBuildTest" /> |
| <option name="test-arg" value="com.android.tradefed.testtype.HostTest:exclude-annotation:android.platform.test.annotations.AppModeInstant" /> |
| <option name="test-arg" value="com.android.compatibility.common.tradefed.testtype.JarHostTest:exclude-annotation:android.platform.test.annotations.AppModeInstant" /> |
| |
| <!-- Force GTest to report binary name in results --> |
| <option name="test-arg" value="com.android.tradefed.testtype.GTest:prepend-filename:true" /> |
| </configuration> |