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

Commit 24875c8b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Enable test harness flag before the test"

parents eab998a9 7ac17934
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -10,12 +10,14 @@
        <!-- prevents the phone from restarting -->
        <option name="force-skip-system-props" value="true" />
        <!-- set WM tracing verbose level to all -->
        <option name="run-command" value="adb shell cmd window tracing level all" />
        <option name="run-command" value="cmd window tracing level all" />
        <!-- inform WM to log all transactions -->
        <option name="run-command" value="adb shell cmd window tracing transaction" />
        <option name="run-command" value="cmd window tracing transaction" />
        <!-- restart launcher to activate TAPL -->
        <option name="run-command" value="setprop ro.test_harness 1 ; am force-stop com.google.android.apps.nexuslauncher" />
    </target_preparer>
    <target_preparer class="com.android.tradefed.targetprep.DeviceCleaner">
        <!-- keeps the screen on during tests -->
        <!-- reboot the device to teardown any crashed tests -->
        <option name="cleanup-action" value="REBOOT" />
    </target_preparer>
    <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">