summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yike <yikezh@google.com> 2022-08-29 13:31:14 +0800
committer Yike <yikezh@google.com> 2022-09-01 14:09:26 +0800
commite431c26b09e6ff4ea1b5e55fd9bbd9e07d14d4ef (patch)
tree01786b66b817c6142b40f3f22d76e8a66703a588
parent770e68977b8b3b520ada79957373051ed23c7919 (diff)
Use `PushFilePreparer` to push files in PreloadCheck
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 PreloadCheck is not. Bug: 220991354 Test: atest PreloadCheck Change-Id: Id25a16d6339b0ec8b5b61f1799c842f5ebd143ba
-rw-r--r--tools/preload-check/AndroidTest.xml2
-rw-r--r--tools/preload-check/OWNERS1
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/preload-check/AndroidTest.xml b/tools/preload-check/AndroidTest.xml
index a0645d5b1051..d486f0f914c6 100644
--- a/tools/preload-check/AndroidTest.xml
+++ b/tools/preload-check/AndroidTest.xml
@@ -14,7 +14,7 @@
limitations under the License.
-->
<configuration description="Config for PreloadCheck">
- <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="preload-check-device.jar->/data/local/tmp/preload-check-device.jar" />
</target_preparer>
diff --git a/tools/preload-check/OWNERS b/tools/preload-check/OWNERS
new file mode 100644
index 000000000000..e71c7332ca90
--- /dev/null
+++ b/tools/preload-check/OWNERS
@@ -0,0 +1 @@
+include /ZYGOTE_OWNERS