2018-08-01 10:13:36 -07:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
* Copyright 2018 Google Inc. All Rights Reserved.
|
|
|
|
-->
|
|
|
|
<configuration description="Runs WindowManager Flicker Tests">
|
|
|
|
<option name="test-tag" value="FlickerTests" />
|
2019-03-19 13:20:53 +08:00
|
|
|
<target_preparer class="com.android.tradefed.targetprep.DeviceSetup">
|
2018-08-01 10:13:36 -07:00
|
|
|
<!-- keeps the screen on during tests -->
|
|
|
|
<option name="screen-always-on" value="on" />
|
|
|
|
<!-- prevents the phone from restarting -->
|
|
|
|
<option name="force-skip-system-props" value="true" />
|
2019-09-25 17:12:40 +02:00
|
|
|
<!-- set WM tracing verbose level to all -->
|
2020-03-30 11:19:29 +02:00
|
|
|
<option name="run-command" value="cmd window tracing level all" />
|
2021-03-05 15:52:05 +01:00
|
|
|
<!-- set WM tracing to frame (avoid incomplete states) -->
|
|
|
|
<option name="run-command" value="cmd window tracing frame" />
|
2020-04-21 16:36:00 +00:00
|
|
|
<!-- restart launcher to activate TAPL -->
|
|
|
|
<option name="run-command" value="setprop ro.test_harness 1 ; am force-stop com.google.android.apps.nexuslauncher" />
|
2019-09-25 17:12:40 +02:00
|
|
|
</target_preparer>
|
2018-08-01 10:13:36 -07:00
|
|
|
<target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
|
|
|
|
<option name="cleanup-apks" value="true"/>
|
|
|
|
<option name="test-file-name" value="FlickerTests.apk"/>
|
|
|
|
<option name="test-file-name" value="FlickerTestApp.apk" />
|
|
|
|
</target_preparer>
|
|
|
|
<test class="com.android.tradefed.testtype.AndroidJUnitTest">
|
|
|
|
<option name="package" value="com.android.server.wm.flicker"/>
|
|
|
|
<option name="shell-timeout" value="6600s" />
|
2020-12-15 14:36:03 +01:00
|
|
|
<option name="test-timeout" value="6600s" />
|
2018-08-01 10:13:36 -07:00
|
|
|
<option name="hidden-api-checks" value="false" />
|
|
|
|
</test>
|
|
|
|
<metrics_collector class="com.android.tradefed.device.metric.FilePullerLogCollector">
|
2020-12-01 16:27:22 +01:00
|
|
|
<option name="directory-keys" value="/sdcard/flicker" />
|
2018-08-01 10:13:36 -07:00
|
|
|
<option name="collect-on-run-ended-only" value="true" />
|
2019-12-04 09:23:34 +01:00
|
|
|
<option name="clean-up" value="true" />
|
2018-08-01 10:13:36 -07:00
|
|
|
</metrics_collector>
|
|
|
|
</configuration>
|