diff options
author | Russ Cox <rsc@golang.org> | 2022-11-16 00:02:14 -0500 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2022-11-16 13:26:16 +0000 |
commit | 5947a07d72076f96eb6fb8e54b7979748962713b (patch) | |
tree | ebca66e18edf76806f657294770a03e142793aa5 /test/noinit.go | |
parent | b1678e508bf04b32fcd8153d09c39ff25b51d287 (diff) | |
download | go-5947a07d72076f96eb6fb8e54b7979748962713b.tar.gz go-5947a07d72076f96eb6fb8e54b7979748962713b.zip |
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>
Diffstat (limited to 'test/noinit.go')
-rw-r--r-- | test/noinit.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/noinit.go b/test/noinit.go index 8bcda1a5ce..ed8e572e51 100644 --- a/test/noinit.go +++ b/test/noinit.go @@ -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 |