mirror of
https://github.com/golang/go
synced 2024-11-25 09:07:58 -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:
parent
e393efc499
commit
d74ff67cc8
@ -11,3 +11,9 @@ GOFILES=\
|
||||
|
||||
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
|
||||
|
@ -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) {
|
||||
if !dotest() {
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user