Commit 0a72e8ee authored by Clément Chigot's avatar Clément Chigot Committed by Alan Donovan

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/149577Reviewed-by: 's avatarAlan Donovan <adonovan@google.com>
Run-TryBot: Alan Donovan <adonovan@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent 6d620fc4
# Issue 27665. Verify that "go vet" analyzes non-Go files.
env GOOS=linux
env GOARCH=amd64
! go vet -asmdecl a
stderr 'f: invalid MOVW of x'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment