Commit da26e27c authored by Russ Cox's avatar Russ Cox

debug/gosym: do not run when cross-compiling

R=r
CC=golang-dev
https://golang.org/cl/2737041
parent 7c2b1597
...@@ -143,7 +143,7 @@ func TestLineAline(t *testing.T) { ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment