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
This commit is contained in:
Yike
2022-07-27 13:00:55 +08:00
committed by Yike Zhang
parent 81f7940d43
commit 320bb523a8

View File

@@ -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" />