summaryrefslogtreecommitdiff
path: root/android/fixture.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/fixture.go')
-rw-r--r--android/fixture.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/fixture.go b/android/fixture.go
index 5ad47e8c9..ea52b95f5 100644
--- a/android/fixture.go
+++ b/android/fixture.go
@@ -1048,7 +1048,7 @@ func (r *TestResult) Preparer() FixturePreparer {
// Module returns the module with the specific name and of the specified variant.
func (r *TestResult) Module(name string, variant string) Module {
- return r.ModuleForTests(name, variant).Module()
+ return r.ModuleForTests(r.fixture.t, name, variant).Module()
}
// CollateErrs adds additional errors to the result and returns true if there is more than one