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

Commit 655ca15d authored by Vishnu Nair's avatar Vishnu Nair
Browse files

Keep screen on when running libgui_test

Input tests require the screen to be on. Looking at the recent
flakes, the device may have been left in a bad state. This change
explicitly turns the screen on before running all tests.

Fixes: 152014889
Test: atest libgui_test (with screen turned off)

Change-Id: I9c8673ffb11f6db5549911acb789e66444ea82e0
parent 8d8ff36e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -18,6 +18,10 @@
        <option name="cleanup" value="true" />
        <option name="push" value="libgui_test->/data/local/tmp/libgui_test" />
    </target_preparer>
    <target_preparer class="com.android.tradefed.targetprep.DeviceSetup">
      <option name="force-skip-system-props" value="true" /> <!-- avoid restarting device -->
      <option name="screen-always-on" value="on" />
    </target_preparer>
    <option name="test-suite-tag" value="apct" />
    <test class="com.android.tradefed.testtype.GTest" >
        <option name="native-test-device-path" value="/data/local/tmp" />