Skip to content

Commit 0a72e8e

Browse files
Clément Chigotadonovan
Clément Chigot
authored andcommitted
cmd/go: fix TestScript/vet_asm for OS without amd64
Add GOOS=linux to vet_asm script to avoid errors on OS not working on amd64 architecture. Change-Id: Ic3db43618008ae8e8bc08738c95c200dd4e916d7 Reviewed-on: https://go-review.googlesource.com/c/149577 Reviewed-by: Alan Donovan <[email protected]> Run-TryBot: Alan Donovan <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
1 parent 6d620fc commit 0a72e8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cmd/go/testdata/script/vet_asm.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Issue 27665. Verify that "go vet" analyzes non-Go files.
22

3+
env GOOS=linux
34
env GOARCH=amd64
45
! go vet -asmdecl a
56
stderr 'f: invalid MOVW of x'

0 commit comments

Comments
 (0)