1*b7c941bbSAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?> 2*b7c941bbSAndroid Build Coastguard Worker<!-- 3*b7c941bbSAndroid Build Coastguard Worker ~ Copyright (C) 2023 The Android Open Source Project 4*b7c941bbSAndroid Build Coastguard Worker ~ 5*b7c941bbSAndroid Build Coastguard Worker ~ Licensed under the Apache License, Version 2.0 (the "License"); 6*b7c941bbSAndroid Build Coastguard Worker ~ you may not use this file except in compliance with the License. 7*b7c941bbSAndroid Build Coastguard Worker ~ You may obtain a copy of the License at 8*b7c941bbSAndroid Build Coastguard Worker ~ 9*b7c941bbSAndroid Build Coastguard Worker ~ http://www.apache.org/licenses/LICENSE-2.0 10*b7c941bbSAndroid Build Coastguard Worker ~ 11*b7c941bbSAndroid Build Coastguard Worker ~ Unless required by applicable law or agreed to in writing, software 12*b7c941bbSAndroid Build Coastguard Worker ~ distributed under the License is distributed on an "AS IS" BASIS, 13*b7c941bbSAndroid Build Coastguard Worker ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14*b7c941bbSAndroid Build Coastguard Worker ~ See the License for the specific language governing permissions and 15*b7c941bbSAndroid Build Coastguard Worker ~ limitations under the License. 16*b7c941bbSAndroid Build Coastguard Worker --> 17*b7c941bbSAndroid Build Coastguard Worker<configuration description="Test filtering based on feature flag values tests"> 18*b7c941bbSAndroid Build Coastguard Worker <!-- Do not shard the execution to collect and verify all executed tests. --> 19*b7c941bbSAndroid Build Coastguard Worker <option name="not-shardable" value="true" /> 20*b7c941bbSAndroid Build Coastguard Worker <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> 21*b7c941bbSAndroid Build Coastguard Worker <option name="cleanup-apks" value="true" /> 22*b7c941bbSAndroid Build Coastguard Worker <option name="test-file-name" value="FlagAnnotationTests.apk" /> 23*b7c941bbSAndroid Build Coastguard Worker </target_preparer> 24*b7c941bbSAndroid Build Coastguard Worker <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer"> 25*b7c941bbSAndroid Build Coastguard Worker <option name="run-command" value="device_config override cts android.cts.flags.tests.readwrite_enabled_flag true" /> 26*b7c941bbSAndroid Build Coastguard Worker <option name="teardown-command" value="device_config override cts android.cts.flags.tests.readwrite_enabled_flag false" /> 27*b7c941bbSAndroid Build Coastguard Worker </target_preparer> 28*b7c941bbSAndroid Build Coastguard Worker <test class="com.android.tradefed.testtype.AndroidJUnitTest" > 29*b7c941bbSAndroid Build Coastguard Worker <option name="package" value="android.cts.flags.tests" /> 30*b7c941bbSAndroid Build Coastguard Worker <option name="runtime-hint" value="1m" /> 31*b7c941bbSAndroid Build Coastguard Worker </test> 32*b7c941bbSAndroid Build Coastguard Worker</configuration> 33