From: Austin Clements Date: Fri, 10 Mar 2023 17:33:24 +0000 (-0500) Subject: runtime: skip TestTracebackInlined if inlining is disabled X-Git-Tag: go1.21rc1~1322 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ec319d6d430d2b64c59ad3f8842048b3d79efae1;p=gostls13.git 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 Reviewed-by: Michael Knyszek TryBot-Result: Gopher Robot Reviewed-by: Michael Pratt Auto-Submit: Austin Clements --- diff --git a/src/runtime/traceback_test.go b/src/runtime/traceback_test.go index b0a383ae71..a47ddb61c5 100644 --- a/src/runtime/traceback_test.go +++ b/src/runtime/traceback_test.go @@ -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()