Merge "Enable test harness flag before the test"
This commit is contained in:
committed by
Android (Google) Code Review
commit
24875c8b57
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user