From da26e27c055d3fd38aec6cb6269240e1da890ffc Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 25 Oct 2010 18:00:42 -0700 Subject: [PATCH] debug/gosym: do not run when cross-compiling R=r CC=golang-dev https://golang.org/cl/2737041 --- src/pkg/debug/gosym/pclntab_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.50.0