1
0
mirror of https://github.com/golang/go synced 2024-09-23 15:30:17 -06:00

test: fix noinit on noopt builder

Fix noopt build break from CL 450136 by not running test.

I can't reproduce the failure locally, but it's entirely reasonable
for this test to fail when optimizations are disabled, so just don't
run it when optimizations are disabled.

Change-Id: I882760fc7373ba0449379f81d295312a6be49be1
Reviewed-on: https://go-review.googlesource.com/c/go/+/450740
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Michael Stapelberg <stapelberg@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
Russ Cox 2022-11-16 00:02:14 -05:00 committed by Gopher Robot
parent b1678e508b
commit 5947a07d72

View File

@ -1,4 +1,5 @@
// run
//go:build !gcflags_noopt
// Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style