1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2017 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="Excluded tests from main CTS runs">
17
18    <include name="cts-developer-exclude" />
19
20    <!-- Test Harness Mode tests are not a part of CTS. They are a part
21         of their own testing plan, as they reset the device during the
22         test. It's possible and ideal in the future to incorporate the
23         tests into CTS, but until then, they should be excluded. -->
24    <option name="compatibility:exclude-filter" value="CtsTestHarnessModeTestCases" />
25
26    <!-- Exclude downstreaming tests from CTS, i.e. tests added after the
27         first major release for this API level (They are pulled into GTS
28         instead). -->
29    <option name="compatibility:test-arg" value="com.android.tradefed.testtype.AndroidJUnitTest:exclude-annotation:com.android.compatibility.common.util.CtsDownstreamingTest" />
30    <option name="compatibility:test-arg" value="com.android.compatibility.common.tradefed.testtype.JarHostTest:exclude-annotation:com.android.compatibility.common.util.CtsDownstreamingTest" />
31    <option name="compatibility:test-arg" value="com.android.tradefed.testtype.HostTest:exclude-annotation:com.android.compatibility.common.util.CtsDownstreamingTest" />
32
33    <!-- Exclude @SecurityTest tests from CTS. These are tested in STS. b/180417031-->
34    <option name="compatibility:test-arg" value="com.android.tradefed.testtype.AndroidJUnitTest:exclude-annotation:android.platform.test.annotations.AsbSecurityTest" />
35    <option name="compatibility:test-arg" value="com.android.compatibility.common.tradefed.testtype.JarHostTest:exclude-annotation:android.platform.test.annotations.AsbSecurityTest" />
36</configuration>
37