diff options
author | Kai Backman <kaib@golang.org> | 2009-10-25 11:59:58 -0700 |
---|---|---|
committer | Kai Backman <kaib@golang.org> | 2009-10-25 11:59:58 -0700 |
commit | 05a73062b114311cba6d7794bf595619eaec5bb3 (patch) | |
tree | 1f09c84ba44eb064719c02859a9de9dc2afc9fe5 /src/cmd/gotest | |
parent | c1858a969764eeda67852ceeaa2820ceb9d21f9f (diff) | |
download | golang-05a73062b114311cba6d7794bf595619eaec5bb3.tar.gz |
make 5l ignore multiple defs, remove use of multiple
defs from embed1 and gotest
R=rsc
http://go/go-review/1014009
Diffstat (limited to 'src/cmd/gotest')
-rwxr-xr-x | src/cmd/gotest/gotest | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/cmd/gotest/gotest b/src/cmd/gotest/gotest index 212abbf75..e274ef9b8 100755 --- a/src/cmd/gotest/gotest +++ b/src/cmd/gotest/gotest @@ -22,6 +22,12 @@ nacl) E="nacl" esac +# TODO(kaib): proper emulator strategy +case x"$GOARCH" in +xarm) + E="qemu-arm -cpu cortex-a8" +esac + # Allow overrides GC=${_GC:-$GC} GL=${GL:-$LD} @@ -131,5 +137,5 @@ importpath=$(make -s importpath) }>_testmain.go $GC _testmain.go -$GL _testmain.$O _test/$importpath.a $xofile +$GL _testmain.$O $E ./$O.out "$@" |