1
0
mirror of https://github.com/golang/go synced 2024-11-11 18:51:37 -07:00

doc: don't invoke go build with -o /dev/null during test

Fixes #5998.

R=golang-dev, khr
CC=golang-dev
https://golang.org/cl/12149043
This commit is contained in:
Robert Daniel Kortschak 2013-08-01 11:03:13 +10:00 committed by Rob Pike
parent 226e1eac03
commit 64cb2cf5cc

View File

@ -17,5 +17,5 @@ echo foo | go run markov.go | grep foo > /dev/null || fail markov
go run pig.go | grep 'Wins, losses staying at k = 100: 210/990 (21.2%), 780/990 (78.8%)' > /dev/null || fail pig
# sharemem.xml: only build the example, as it uses the network
go build -o /dev/null urlpoll.go || fail urlpoll
go build urlpoll.go || fail urlpoll
rm -f urlpoll