From 5666ec87353178e0124b6263ed3c87d799557fcb Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Wed, 13 Apr 2011 14:24:38 -0700 Subject: [PATCH] fix build: disable gofmt test script, enable gotest testing instead R=rsc CC=golang-dev https://golang.org/cl/4403045 --- src/cmd/gofmt/Makefile | 4 ++-- src/pkg/Makefile | 1 - src/run.bash | 9 --------- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/src/cmd/gofmt/Makefile b/src/cmd/gofmt/Makefile index 5f2f454e822..dc5b060e654 100644 --- a/src/cmd/gofmt/Makefile +++ b/src/cmd/gofmt/Makefile @@ -15,5 +15,5 @@ include ../../Make.cmd test: $(TARG) ./test.sh -smoketest: $(TARG) - (cd testdata; ./test.sh) +testshort: + gotest -test.short diff --git a/src/pkg/Makefile b/src/pkg/Makefile index 2e6e092b0bf..e45b39e86a8 100644 --- a/src/pkg/Makefile +++ b/src/pkg/Makefile @@ -194,7 +194,6 @@ NOTEST+=\ ../cmd/cgo\ ../cmd/ebnflint\ ../cmd/godoc\ - ../cmd/gofmt\ ../cmd/gotest\ ../cmd/govet\ ../cmd/goyacc\ diff --git a/src/run.bash b/src/run.bash index 91cd3cc997e..ea98403f73a 100755 --- a/src/run.bash +++ b/src/run.bash @@ -50,15 +50,6 @@ fi GOMAXPROCS=10 gomake testshort ) || exit $? -[ "$GOARCH" == arm ] || -(xcd cmd/gofmt -if $rebuild; then - gomake clean; - time gomake -fi -time gomake smoketest -) || exit $? - (xcd cmd/ebnflint if $rebuild; then gomake clean;