1
0
mirror of https://github.com/golang/go synced 2024-11-23 16:20:04 -07:00

change tests to not use nacl/amd64p32

This commit is contained in:
jsign 2019-10-12 18:12:39 -03:00
parent 0d37cb1153
commit 66fa86c11e

View File

@ -109,16 +109,8 @@ stderr 'unsupported GOOS/GOARCH.*/amd644$'
# check -w doesn't allow invalid GOOS with valid GOARCH
! go env -w GOOS=linuxx GOARCH=amd64
stderr 'unsupported GOOS/GOARCH pair linuxx'
# check that -u won't allow an invalid combination after a successful -w
go env -w GOOS=nacl GOARCH=amd64p32
# check that -u considers explicit envs
go env -w GOOS=linux GOARCH=mips
env GOOS=windows
! go env -u GOOS
stderr 'unsupported GOOS/GOARCH.*/amd64p32$'
# check that -u considers explicit envs in action validation
go env -u GOOS GOARCH
env GOOS=nacl
env GOARCH=amd64p32
go env -w GOOS=linux GOARCH=amd64
env GOOS=
! go env -u GOARCH
stderr 'linux/amd64p32'
stderr 'unsupported GOOS/GOARCH.*windows/mips$'