1
0
mirror of https://github.com/golang/go synced 2024-11-19 06:24:41 -07:00

debug/gosym: do not run when cross-compiling

R=r
CC=golang-dev
https://golang.org/cl/2737041
This commit is contained in:
Russ Cox 2010-10-25 18:00:42 -07:00
parent 7c2b1597c6
commit da26e27c05

View File

@ -143,7 +143,7 @@ func TestLineAline(t *testing.T) {
}
}
// gotest: if [ "$(uname)-$(uname -m)" = Linux-x86_64 ]; then
// gotest: if [ "$(uname)-$(uname -m)" = Linux-x86_64 -a "$GOARCH" = amd64 ]; then
// gotest: mkdir -p _test && $AS pclinetest.s && $LD -E main -o _test/pclinetest pclinetest.$O
// gotest: fi
func TestPCLine(t *testing.T) {