Merge "Support go 1.16 in gotestmain" am: d7d1e39aaf

Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1696685

Change-Id: I400af9c08bbc2f29324035cb8a27523013edeabf
This commit is contained in:
Colin Cross 2021-05-14 22:31:30 +00:00 committed by Automerger Merge Worker
commit 419285d831

View file

@ -181,6 +181,10 @@ func (matchString) StopTestLog() error {
panic("shouldn't get here")
}
func (matchString) SetPanicOnExit0(bool) {
panic("shouldn't get here")
}
func main() {
{{if .MainStartTakesInterface}}
m := testing.MainStart(matchString{}, t, nil, e)