From 7495cdaf3d9e0e4074e9a2b530198e1ef322b8ad Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 1 Nov 2018 14:24:16 -0700 Subject: [release-branch.go1.10] cmd/go: remove test that does nothing in 1.10 1.10 has no cmd/go/testdata/script directory. Change-Id: I8985d457e8d6d0c8aeff9c17375f3c872593ab92 Reviewed-on: https://go-review.googlesource.com/c/146781 Run-TryBot: Ian Lance Taylor Reviewed-by: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- src/cmd/go/testdata/script/build_cache_gomips.txt | 37 ----------------------- 1 file changed, 37 deletions(-) delete mode 100644 src/cmd/go/testdata/script/build_cache_gomips.txt diff --git a/src/cmd/go/testdata/script/build_cache_gomips.txt b/src/cmd/go/testdata/script/build_cache_gomips.txt deleted file mode 100644 index c77acc3f2f..0000000000 --- a/src/cmd/go/testdata/script/build_cache_gomips.txt +++ /dev/null @@ -1,37 +0,0 @@ -# Set up fresh GOCACHE. -env GOCACHE=$WORK/gocache -mkdir $GOCACHE - -# Building for mipsle without setting GOMIPS will use floating point registers. -env GOARCH=mipsle -env GOOS=linux -go build -gcflags=-S f.go -stderr ADDD.F[0-9]+,.F[0-9]+,.F[0-9]+ - -# Clean cache -go clean -cache - -# Building with GOMIPS=softfloat will not use floating point registers -env GOMIPS=softfloat -go build -gcflags=-S f.go -! stderr ADDD.F[0-9]+,.F[0-9]+,.F[0-9]+ - -# Clean cache -go clean -cache - -# Build without setting GOMIPS -env GOMIPS= -go build -gcflags=-S f.go -stderr ADDD.F[0-9]+,.F[0-9]+,.F[0-9]+ - -# Building with GOMIPS should still not use floating point registers. -env GOMIPS=softfloat -go build -gcflags=-S f.go -! stderr ADDD.F[0-9]+,.F[0-9]+,.F[0-9]+ - --- f.go -- -package f - -func F(x float64) float64 { - return x + x -} -- cgit v1.2.3-54-g00ecf