summaryrefslogtreecommitdiff
path: root/rust/test.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-03-11 19:02:24 -0700
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2025-03-11 19:02:24 -0700
commitfb8f32470d4c98b110149320f5c5195b3e2b3ced (patch)
tree4452134cc16e0be412971c66c177b3f09a046605 /rust/test.go
parent2a8b4e5887e6bbeff2a545febb1f861bd7bdfd3b (diff)
parentd7748c944fbba9c019064f99522e6e27b3340758 (diff)
Merge "Expand TestSuiteInfoProvider to all test modules" into main am: 9697c5303c am: d7748c944f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3537561 Change-Id: I813eeaee54a6157ae87c6cf8c285406892027be8 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'rust/test.go')
-rw-r--r--rust/test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/rust/test.go b/rust/test.go
index 9cbc9f414..2fed0d62e 100644
--- a/rust/test.go
+++ b/rust/test.go
@@ -320,6 +320,10 @@ func (test *testDecorator) moduleInfoJSON(ctx ModuleContext, moduleInfoJSON *and
} else {
moduleInfoJSON.CompatibilitySuites = append(moduleInfoJSON.CompatibilitySuites, "null-suite")
}
+
+ android.SetProvider(ctx, android.TestSuiteInfoProvider, android.TestSuiteInfo{
+ TestSuites: test.Properties.Test_suites,
+ })
}
func rustTestHostMultilib(ctx android.LoadHookContext) {