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: mkdir -p _test && $AS pclinetest.s && $LD -E main -o _test/pclinetest pclinetest.$O
// gotest: fi // gotest: fi
func TestPCLine(t *testing.T) { func TestPCLine(t *testing.T) {