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

Commit 134221b9 authored by Sam Dubey's avatar Sam Dubey
Browse files

Add libraries to record screen when needed

Iw tests are recorded in staged testing which helps in debugging.

Test: go/abtd/run/L82800000960365904
Bug: 280563885
Change-Id: Idecfc69c37626d5991f09a12d0a43573c898ff00
parent 30d70c98
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ android_test {
        "-c fa",
    ],
    static_libs: [
        "collector-device-lib-platform",
        "frameworks-base-testutils",
        "core-test-rules", // for libcore.dalvik.system.CloseGuardSupport
        "core-tests-support",
+7 −0
Original line number Diff line number Diff line
@@ -32,6 +32,13 @@

    <target_preparer class="com.android.compatibility.common.tradefed.targetprep.DeviceInteractionHelperInstaller" />

    <metrics_collector class="com.android.tradefed.device.metric.FilePullerLogCollector">
        <option name="directory-keys" value="/data/user/0/com.android.frameworks.coretests/files" />
        <option name="pull-pattern-keys"
                value="android.device.collectors.ScreenRecordCollector.*\.mp4"/>
        <option name="collect-on-run-ended-only" value="true" />
    </metrics_collector>

    <option name="test-tag" value="FrameworksCoreTests" />
    <test class="com.android.tradefed.testtype.AndroidJUnitTest" >
        <option name="package" value="com.android.frameworks.coretests" />