46 lines
2.4 KiB
XML
46 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
~ Copyright (C) 2020 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="Avatar tests.">
|
|
<target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer">
|
|
<option name="force-root" value="true"/>
|
|
</target_preparer>
|
|
<target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
|
|
<option name="test-file-name" value="PandoraServer.apk" />
|
|
<option name="install-arg" value="-r" />
|
|
<option name="install-arg" value="-g" />
|
|
</target_preparer>
|
|
<target_preparer class="com.android.tradefed.targetprep.RunHostCommandTargetPreparer">
|
|
<option name="host-setup-command" value="adb -s $SERIAL forward tcp:6211 tcp:6211" />
|
|
<option name="host-background-command" value="adb -s $SERIAL shell nc -L -p 6211 nc 192.168.97.1 7300" />
|
|
<option name="host-teardown-command" value="adb -s $SERIAL forward --remove tcp:6211" />
|
|
</target_preparer>
|
|
<target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
|
|
<option name="run-command" value="cmd bluetooth_manager enable" />
|
|
<option name="run-command" value="cmd bluetooth_manager wait-for-state:STATE_ON" />
|
|
</target_preparer>
|
|
<target_preparer class="com.android.tradefed.targetprep.PythonVirtualenvPreparer">
|
|
<option name="dep-module" value="grpcio==1.51.1" />
|
|
<option name="dep-module" value="cryptography==35" />
|
|
</target_preparer>
|
|
<test class="com.android.tradefed.testtype.mobly.MoblyBinaryHostTest">
|
|
<option name="mobly-par-file-name" value="avatar" />
|
|
<option name="mobly-config-file-name" value="config.yml" />
|
|
<option name="mobly-test-timeout" value="1800000" />
|
|
<option name="test-bed" value="android.bumbles" />
|
|
</test>
|
|
</configuration>
|