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

Commit b2c2ff32 authored by Cosmin Băieș's avatar Cosmin Băieș
Browse files

Add RootTargetPreparer for IME unit tests

The DumpOnFailure files are generated properly, however the test
instrumentation fails to pull them due to a permission denied error.
This adds the RootTargetPreparer to the test confiugration to allow
reading the files.

Flag: EXEMPT testfix
Bug: 399050749
Bug: 395783236
Test: atest InputMethodServiceTest#testBackButtonClick
Change-Id: Ifc1849b7a21e6db4f4237fa476c2b0d62808c7f6
parent 1b8d92a7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -18,6 +18,9 @@
    <option name="test-suite-tag" value="apct" />
    <option name="test-suite-tag" value="apct-instrumentation" />

    <!-- Needed for reading the app files for the test artifacts -->
    <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"/>

    <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
        <option name="cleanup-apks" value="true" />
        <option name="install-arg" value="-t" />