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
This commit is contained in:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user