diff options
author | Dmitri Shuralyov <dmitshur@golang.org> | 2023-10-17 15:07:58 -0400 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2023-10-19 23:33:25 +0000 |
commit | b2fd76ab8dd72b9f2135c1e9b15130e6028fc838 (patch) | |
tree | 0d37261f11b8c550cd4e3b761798415a1319ee69 /test/checkbce.go | |
parent | ff6dd7125e70976063c412d9f52f8b19ee2c08fb (diff) | |
download | go-b2fd76ab8dd72b9f2135c1e9b15130e6028fc838.tar.gz go-b2fd76ab8dd72b9f2135c1e9b15130e6028fc838.zip |
test: migrate remaining files to go:build syntax
Most of the test cases in the test directory use the new go:build syntax
already. Convert the rest. In general, try to place the build constraint
line below the test directive comment in more places.
For #41184.
For #60268.
Change-Id: I11c41a0642a8a26dc2eda1406da908645bbc005b
Cq-Include-Trybots: luci.golang.try:gotip-linux-386-longtest,gotip-linux-amd64-longtest,gotip-windows-amd64-longtest
Reviewed-on: https://go-review.googlesource.com/c/go/+/536236
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'test/checkbce.go')
-rw-r--r-- | test/checkbce.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/checkbce.go b/test/checkbce.go index ab31d95283..71acfb71ac 100644 --- a/test/checkbce.go +++ b/test/checkbce.go @@ -1,6 +1,7 @@ -// +build amd64,!gcflags_noopt // errorcheck -0 -d=ssa/check_bce/debug=3 +//go:build amd64 && !gcflags_noopt + // Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. |