aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-10-25 18:00:42 -0700
committerRuss Cox <rsc@golang.org>2010-10-25 18:00:42 -0700
commitda26e27c055d3fd38aec6cb6269240e1da890ffc (patch)
treeb0a26e557e1d8098788c5093756e9986aaa4bd37
parent7c2b1597c67e0b74ed9efd1f409c7368604c917c (diff)
downloadgo-da26e27c055d3fd38aec6cb6269240e1da890ffc.tar.gz
go-da26e27c055d3fd38aec6cb6269240e1da890ffc.zip
debug/gosym: do not run when cross-compiling
R=r CC=golang-dev https://golang.org/cl/2737041
-rw-r--r--src/pkg/debug/gosym/pclntab_test.go2
1 files changed, 1 insertions, 1 deletions
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) {