1
0
mirror of https://github.com/golang/go synced 2024-11-13 18:30:26 -07:00

debug/gosym: remove need for gotest to run preparatory commands.

Put them into the Makefile instead. One dependency mechanism is enough.

R=rsc
CC=golang-dev
https://golang.org/cl/4331043
This commit is contained in:
Rob Pike 2011-03-29 10:41:23 -07:00
parent e393efc499
commit d74ff67cc8
2 changed files with 6 additions and 3 deletions

View File

@ -11,3 +11,9 @@ GOFILES=\
include ../../../Make.pkg include ../../../Make.pkg
test: make-pclinetest
testshort: make-pclinetest
make-pclinetest:
@if [ "`uname`-`uname -m`" = Linux-x86_64 -a $(GOARCH) = amd64 ]; then mkdir -p _test && $(AS) pclinetest.s && $(LD) -E main -o _test/pclinetest pclinetest.$O; fi

View File

@ -143,9 +143,6 @@ func TestLineAline(t *testing.T) {
} }
} }
// 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) { func TestPCLine(t *testing.T) {
if !dotest() { if !dotest() {
return return