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

Commit 56f5c0db authored by Yike's avatar Yike
Browse files

Use `PushFilePreparer` to push files in dex-builder-test

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 dex-builder-test is not.

Bug: 220991354
Test: atest-src dex-builder-test \
          --experimental-device-driven-test \
          --experimental-java-runtime-dependencies \
          --bazel-arg=--test_timeout=48000
Test: atest dex-builder-test
Change-Id: I85be14a454acac23705131c3a121c70fde07a138
parent 81f7940d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@
        <option name="test-file-name" value="dex-builder-test.apk" />
    </target_preparer>

    <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="push" value="trivial.dex->/data/local/tmp/dex-builder-test/trivial.dex" />
        <option name="push" value="simple.dex->/data/local/tmp/dex-builder-test/simple.dex" />