]> Cypherpunks repositories - gostls13.git/commitdiff
debug/gosym: do not run when cross-compiling
authorRuss Cox <rsc@golang.org>
Tue, 26 Oct 2010 01:00:42 +0000 (18:00 -0700)
committerRuss Cox <rsc@golang.org>
Tue, 26 Oct 2010 01:00:42 +0000 (18:00 -0700)
R=r
CC=golang-dev
https://golang.org/cl/2737041

src/pkg/debug/gosym/pclntab_test.go

index 8752e3c9fafd4d6101de82cb20a91abdfdb3b9d5..90870217348551851be02192691f71cad19f7638 100644 (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) {