From 5947a07d72076f96eb6fb8e54b7979748962713b Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 16 Nov 2022 00:02:14 -0500 Subject: [PATCH] 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 Reviewed-by: Michael Stapelberg Auto-Submit: Russ Cox Run-TryBot: Russ Cox TryBot-Result: Gopher Robot --- test/noinit.go | 1 + 1 file changed, 1 insertion(+) 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 -- 2.50.0