From 812a33dc7df6a4f7b8b0bd2e6ea6500f312b3fed Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Wed, 6 Oct 2021 13:42:17 -0700 Subject: [PATCH] test: skip endian inlining test on noopt builder Change-Id: I73b1ac23f322bcaff36eff7a5829654f299c1fdd Reviewed-on: https://go-review.googlesource.com/c/go/+/354353 Trust: Josh Bleecher Snyder Run-TryBot: Josh Bleecher Snyder TryBot-Result: Go Bot Reviewed-by: Robert Griesemer --- test/inline_endian.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/inline_endian.go b/test/inline_endian.go index baca133452..e00e06a75e 100644 --- a/test/inline_endian.go +++ b/test/inline_endian.go @@ -1,7 +1,8 @@ // errorcheckwithauto -0 -m -d=inlfuncswithclosures=1 -//go:build 386 || amd64 || arm64 || ppc64le || s390x +//go:build (386 || amd64 || arm64 || ppc64le || s390x) && !gcflags_noopt // +build 386 amd64 arm64 ppc64le s390x +// +build !gcflags_noopt // Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style