From: Russ Cox Date: Tue, 26 Oct 2010 01:00:42 +0000 (-0700) Subject: debug/gosym: do not run when cross-compiling X-Git-Tag: weekly.2010-10-27~19 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=da26e27c055d3fd38aec6cb6269240e1da890ffc;p=gostls13.git debug/gosym: do not run when cross-compiling R=r CC=golang-dev https://golang.org/cl/2737041 --- diff --git a/src/pkg/debug/gosym/pclntab_test.go b/src/pkg/debug/gosym/pclntab_test.go index 8752e3c9fa..9087021734 100644 --- a/src/pkg/debug/gosym/pclntab_test.go +++ b/src/pkg/debug/gosym/pclntab_test.go @@ -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) {