Skip to content

Commit a34a97d

Browse files
cuonglmgopherbot
authored andcommitted
cmd/compile: disable append of make test on noopt builder
Updates #53888 Change-Id: I34ef2c5bd23816e1991cfec2bef4cae72676b523 Reviewed-on: https://go-review.googlesource.com/c/go/+/422037 Reviewed-by: Than McIntosh <[email protected]> Reviewed-by: Keith Randall <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Keith Randall <[email protected]> Run-TryBot: Cuong Manh Le <[email protected]> Auto-Submit: Cuong Manh Le <[email protected]>
1 parent 4bcc138 commit a34a97d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/cmd/compile/internal/test/issue53888_test.go

+7-1
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,21 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build !race
5+
//go:build !race && !goexperiment.unified
66

77
package test
88

99
import (
10+
"internal/testenv"
11+
"strings"
1012
"testing"
1113
)
1214

15+
// TODO(cuonglm,mdempsky): figure out why Unifed IR failed?
1316
func TestAppendOfMake(t *testing.T) {
17+
if strings.HasSuffix(testenv.Builder(), "-noopt") {
18+
t.Skip("append of make optimization is disabled on noopt builder")
19+
}
1420
for n := 32; n < 33; n++ { // avoid stack allocation of make()
1521
b := make([]byte, n)
1622
f := func() {

0 commit comments

Comments
 (0)