summaryrefslogtreecommitdiff
path: root/cc/testing.go
diff options
context:
space:
mode:
Diffstat (limited to 'cc/testing.go')
-rw-r--r--cc/testing.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/testing.go b/cc/testing.go
index ed567af69..159f86c60 100644
--- a/cc/testing.go
+++ b/cc/testing.go
@@ -713,7 +713,7 @@ func CreateTestContext(config android.Config) *android.TestContext {
func checkSnapshotIncludeExclude(t *testing.T, ctx *android.TestContext, singleton android.TestingSingleton, moduleName, snapshotFilename, subDir, variant string, include bool, fake bool) {
t.Helper()
mod := ctx.ModuleForTests(moduleName, variant)
- outputFiles := mod.OutputFiles(t, "")
+ outputFiles := mod.OutputFiles(ctx, t, "")
if len(outputFiles) != 1 {
t.Errorf("%q must have single output\n", moduleName)
return