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

Commit 320bb523 authored by Yike's avatar Yike Committed by Yike Zhang
Browse files

Use `PushFilePreparer` to push files in OverlayDeviceTests

This change modifies the test config file by switching to use `PushFilePreparer` instead of `FilePusher`, since the `FilePusher` class which is defined in `compatibility-tradefed` is designed for the tests that are part of compatibility suite, but OverlayDeviceTests is not.

Bug: 220991354
Test: atest-src OverlayDeviceTests \
          --experimental-device-driven-test \
          --experimental-java-runtime-dependencies \
          --bazel-arg=--test_timeout=48000
Test: atest OverlayDeviceTests
Change-Id: Ice90776cb2eae43be25190979f1b69a52e97920d
parent 81f7940d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@
    <option name="test-suite-tag" value="apct-instrumentation" />

    <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer" />
    <target_preparer class="com.android.compatibility.common.tradefed.targetprep.FilePusher">
    <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
        <option name="cleanup" value="true" />
        <option name="remount-system" value="true" />
        <option name="push" value="OverlayDeviceTests.apk->/system/app/OverlayDeviceTests.apk" />