Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6be69064 authored by Liz Kammer's avatar Liz Kammer
Browse files

Add missing t.Helper() to androidmk functions

Test: go test soong tests
Change-Id: I534aef51afa91a0942f58b3987e9c1cb3f3c75cb
parent fdb6321d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1120,6 +1120,7 @@ func SetKatiEnabledForTests(config Config) {
}

func AndroidMkEntriesForTest(t *testing.T, ctx *TestContext, mod blueprint.Module) []AndroidMkEntries {
	t.Helper()
	var p AndroidMkEntriesProvider
	var ok bool
	if p, ok = mod.(AndroidMkEntriesProvider); !ok {
@@ -1134,6 +1135,7 @@ func AndroidMkEntriesForTest(t *testing.T, ctx *TestContext, mod blueprint.Modul
}

func AndroidMkDataForTest(t *testing.T, ctx *TestContext, mod blueprint.Module) AndroidMkData {
	t.Helper()
	var p AndroidMkDataProvider
	var ok bool
	if p, ok = mod.(AndroidMkDataProvider); !ok {