summaryrefslogtreecommitdiff
path: root/android/testing.go
diff options
context:
space:
mode:
author Liz Kammer <eakammer@google.com> 2022-11-04 16:06:02 -0400
committer Liz Kammer <eakammer@google.com> 2022-11-04 16:24:32 -0400
commit6be6906429365440a8b13992eee9c39b9ddf7c1a (patch)
treec1b37f48128c3000193dd8b82ff1f53dd3446767 /android/testing.go
parentfdb6321d23c86356222bc7111c5181d718656c0e (diff)
Add missing t.Helper() to androidmk functions
Test: go test soong tests Change-Id: I534aef51afa91a0942f58b3987e9c1cb3f3c75cb
Diffstat (limited to 'android/testing.go')
-rw-r--r--android/testing.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/testing.go b/android/testing.go
index f9f9670f3..2256c96bc 100644
--- a/android/testing.go
+++ b/android/testing.go
@@ -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 {