1
0
mirror of https://github.com/golang/go synced 2024-11-23 18:00:06 -07:00

runtime: skip TestTracebackInlined if inlining is disabled

This should fix the noopt builders.

Change-Id: I49aa374f4d372803599cd2d2a7a29833b379ce1b
Reviewed-on: https://go-review.googlesource.com/c/go/+/475376
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Austin Clements <austin@google.com>
This commit is contained in:
Austin Clements 2023-03-10 12:33:24 -05:00 committed by Gopher Robot
parent 166e5ee4f2
commit ec319d6d43

View File

@ -19,6 +19,7 @@ import (
// Test traceback printing of inlined frames.
func TestTracebackInlined(t *testing.T) {
testenv.SkipIfOptimizationOff(t) // This test requires inlining
check := func(t *testing.T, r *ttiResult, funcs ...string) {
t.Helper()