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="Common configuration for cts and cts-reference-aosp"> 17 18 <include name="everything" /> 19 <option name="compatibility:run-suite-tag" value="cts" /> 20 <!-- Enable module parameterization to run instant_app modules in main CTS --> 21 <option name="compatibility:enable-parameterized-modules" value="true" /> 22 <include name="cts-preconditions" /> 23 <include name="cts-system-checkers" /> 24 <include name="cts-known-failures" /> 25 26 <option name="test-tag" value="cts" /> 27 28 <option name="enable-root" value="false" /> 29 <!-- retain 200MB of host log --> 30 <option name="max-log-size" value="200" /> 31 <!-- retain 200MB of logcat --> 32 <option name="max-tmp-logcat-file" value="209715200" /> 33 34 <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer"> 35 <option name="run-command" value="settings put global package_verifier_enable 0" /> 36 <option name="teardown-command" value="settings put global package_verifier_enable 1"/> 37 </target_preparer> 38 39 <target_preparer class="com.android.compatibility.common.tradefed.targetprep.PropertyCheck"> 40 <option name="property-name" value="ro.build.type" /> 41 <option name="expected-value" value="user"/> <!-- Device should have user build --> 42 <option name="throw-error" value="false"/> <!-- Only print warning if not user build --> 43 </target_preparer> 44 45 <target_preparer class="com.android.compatibility.common.tradefed.targetprep.PropertyCheck"> 46 <option name="property-name" value="ro.product.locale" /> 47 <option name="expected-value" value="en-US"/> <!-- Device locale should be US English --> 48 <option name="throw-error" value="false"/> <!-- Only print warning if not en-US --> 49 </target_preparer> 50 51 <target_preparer class="com.android.compatibility.common.tradefed.targetprep.PropertyCheck"> 52 <option name="property-name" value="persist.sys.test_harness" /> 53 <option name="expected-value" value="false"/> <!-- Device shouldn't be in test harness mode --> 54 <option name="throw-error" value="true"/> 55 </target_preparer> 56 57 <template-include name="reporters" default="basic-reporters" /> 58 59 <!-- Include additional test metadata output. --> 60 <template-include name="metadata-reporters" default="empty" /> 61 62</configuration> 63