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

Commit 61e2991c authored by Gavin Williams's avatar Gavin Williams
Browse files

Upload screenshots for failures

This change makes a screenshot available as an artifact in
Android Test Investigate for test failures under
frameworks/base/services/tests/servicestests/.

Bug: 418934363
Test: atest
Flag: TEST_ONLY
Change-Id: I04cf1906c50a016c0758e92614967031066efb2c
parent 52784190
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -57,5 +57,13 @@
        <option name="runner" value="androidx.test.runner.AndroidJUnitRunner" />
        <option name="hidden-api-checks" value="false"/>
        <option name="exclude-annotation" value="androidx.test.filters.FlakyTest" />
        <option name="device-listeners"
            value="android.device.collectors.ScreenshotOnFailureCollector" />
    </test>
    <metrics_collector class="com.android.tradefed.device.metric.FilePullerLogCollector">
        <!-- Collect the files generated on error -->
        <option name="pull-pattern-keys"
            value="android.device.collectors.ScreenshotOnFailureCollector.*\.png" />
        <option name="collect-on-run-ended-only" value="false" />
    </metrics_collector>
</configuration>