Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8b569117 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "threadnetwork: Avoid execute command if service does not exist" into main

parents 3f53c5c1 ae9ea3c8
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -13,11 +13,12 @@
     See the License for the specific language governing permissions and
     See the License for the specific language governing permissions and
     limitations under the License.
     limitations under the License.
-->
-->

<configuration description="Runs VtsHalThreadNetworkTargetTest.">
<configuration description="Runs VtsHalThreadNetworkTargetTest.">
    <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
    <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
        <option name="run-command" value="cmd thread_network force-stop-ot-daemon enabled" />
        <option name="run-command" value="if pm list features |grep 'android.hardware.thread_network'; then cmd thread_network force-stop-ot-daemon enabled; fi" />
        <option name="run-command" value="cmd bluetooth_manager enable" />
        <option name="run-command" value="cmd bluetooth_manager enable" />
        <option name="teardown-command" value="cmd thread_network force-stop-ot-daemon disabled" />
        <option name="teardown-command" value="if pm list features |grep 'android.hardware.thread_network'; then cmd thread_network force-stop-ot-daemon disabled; fi" />
    </target_preparer>
    </target_preparer>
    <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
    <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
        <option name="cleanup" value="true" />
        <option name="cleanup" value="true" />