summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-03-12 19:03:22 -0700
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-03-12 19:03:22 -0700
commit5509f0867e4bb4857cc93ee5ae7b9c2697af81b8 (patch)
tree9a349926968210b2ee448a8039ef346a9bb0fba4
parentf19bde5eb26eb6fc7eef66371d0492b5166f26bf (diff)
parentf2c61aac6ad79bfc9a915c303a232e90b9408db7 (diff)
Merge "Call SkipInstall() on all test_packages" into main
-rw-r--r--ci_tests/ci_test_package_zip.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/ci_tests/ci_test_package_zip.go b/ci_tests/ci_test_package_zip.go
index 87ae6fda2..95249aa10 100644
--- a/ci_tests/ci_test_package_zip.go
+++ b/ci_tests/ci_test_package_zip.go
@@ -140,6 +140,9 @@ func TestPackageZipFactory() android.Module {
}
func (p *testPackageZip) GenerateAndroidBuildActions(ctx android.ModuleContext) {
+ // Never install this test package, it's for disting only
+ p.SkipInstall()
+
if !android.InList(ctx.ModuleName(), moduleNamesAllowed) {
ctx.ModuleErrorf("%s is not allowed to use module type test_package")
}