blob: a9af98ea6e6871d0631763a6183a4f1e66d8de39 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2017 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="Multi device Hello World Example">
<!-- Some option for the whole configuration-->
<option name="test-tag" value="multi-device-hello-world" />
<!-- Each device configuration -->
<device name="device1">
<target_preparer class="com.android.tradefed.targetprep.DeviceSetup">
<option name="disable" value="true" />
</target_preparer>
</device>
<!-- A device tag can be completely empty if it doesn't require any setup -->
<device name="device2" />
<!-- preparer that affects all the devices, called after the individual target_preparer -->
<!-- Not required: If you have none, you can remove all the 'multi_target_preparer' -->
<multi_target_preparer class="com.android.tradefed.targetprep.multi.StubMultiTargetPreparer" />
<multi_target_preparer class="com.android.tradefed.targetprep.multi.HelloWorldMultiTargetPreparer" />
<!-- logger in verbose for the example -->
<logger class="com.android.tradefed.log.FileLogger">
<option name="log-level" value="VERBOSE" />
<option name="log-level-display" value="VERBOSE" />
</logger>
<!-- tests that will be ran -->
<test class="com.android.tradefed.HelloWorldMultiDevices" />
<!-- result reporters -->
<result_reporter class="com.android.tradefed.result.ConsoleResultReporter" />
</configuration>