1*dd0948b3SAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?> 2*dd0948b3SAndroid Build Coastguard Worker<!-- Copyright (C) 2023 The Android Open Source Project 3*dd0948b3SAndroid Build Coastguard Worker 4*dd0948b3SAndroid Build Coastguard Worker Licensed under the Apache License, Version 2.0 (the "License"); 5*dd0948b3SAndroid Build Coastguard Worker you may not use this file except in compliance with the License. 6*dd0948b3SAndroid Build Coastguard Worker You may obtain a copy of the License at 7*dd0948b3SAndroid Build Coastguard Worker 8*dd0948b3SAndroid Build Coastguard Worker http://www.apache.org/licenses/LICENSE-2.0 9*dd0948b3SAndroid Build Coastguard Worker 10*dd0948b3SAndroid Build Coastguard Worker Unless required by applicable law or agreed to in writing, software 11*dd0948b3SAndroid Build Coastguard Worker distributed under the License is distributed on an "AS IS" BASIS, 12*dd0948b3SAndroid Build Coastguard Worker WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*dd0948b3SAndroid Build Coastguard Worker See the License for the specific language governing permissions and 14*dd0948b3SAndroid Build Coastguard Worker limitations under the License. 15*dd0948b3SAndroid Build Coastguard Worker--> 16*dd0948b3SAndroid Build Coastguard Worker<configuration description="Config for libflagtest test"> 17*dd0948b3SAndroid Build Coastguard Worker <option name="not-shardable" value="true" /> 18*dd0948b3SAndroid Build Coastguard Worker <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"> 19*dd0948b3SAndroid Build Coastguard Worker </target_preparer> 20*dd0948b3SAndroid Build Coastguard Worker <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer"> 21*dd0948b3SAndroid Build Coastguard Worker <option name="run-command" value="setprop persist.device_config.aconfig_flags.flagtest.android.test.myflags.test_flag_true true" /> 22*dd0948b3SAndroid Build Coastguard Worker <option name="run-command" value="setprop persist.device_config.aconfig_flags.flagtest.android.test.myflags.test_flag_false false" /> 23*dd0948b3SAndroid Build Coastguard Worker <option name="teardown-command" value="setprop persist.device_config.aconfig_flags.flagtest.android.test.myflags.test_flag_true null" /> 24*dd0948b3SAndroid Build Coastguard Worker <option name="teardown-command" value="setprop persist.device_config.aconfig_flags.flagtest.android.test.myflags.test_flag_false null" /> 25*dd0948b3SAndroid Build Coastguard Worker </target_preparer> 26*dd0948b3SAndroid Build Coastguard Worker <target_preparer class="com.android.compatibility.common.tradefed.targetprep.FilePusher"> 27*dd0948b3SAndroid Build Coastguard Worker <option name="cleanup" value="true" /> 28*dd0948b3SAndroid Build Coastguard Worker <option name="push" value="libflagtest_test->/data/local/tmp/libflagtest_test" /> 29*dd0948b3SAndroid Build Coastguard Worker </target_preparer> 30*dd0948b3SAndroid Build Coastguard Worker <test class="com.android.tradefed.testtype.GTest" > 31*dd0948b3SAndroid Build Coastguard Worker <option name="native-test-device-path" value="/data/local/tmp" /> 32*dd0948b3SAndroid Build Coastguard Worker <option name="module-name" value="libflagtest_test" /> 33*dd0948b3SAndroid Build Coastguard Worker </test> 34*dd0948b3SAndroid Build Coastguard Worker</configuration>