mirror of https://github.com/golang/go.git
build: rewrite to use bash time builtin
Should help windows/amd64 R=adg CC=golang-dev https://golang.org/cl/5500058
This commit is contained in:
parent
9754d61552
commit
efa2246e42
|
|
@ -34,7 +34,7 @@ if $rebuild; then
|
|||
if $USE_GO_TOOL; then
|
||||
echo
|
||||
echo '# Package builds'
|
||||
GOPATH="" time go install -a all
|
||||
time GOPATH="" go install -a all
|
||||
else
|
||||
(xcd pkg
|
||||
gomake clean
|
||||
|
|
@ -46,7 +46,7 @@ fi
|
|||
if $USE_GO_TOOL; then
|
||||
echo
|
||||
echo '# Package tests'
|
||||
GOPATH="" time go test all -short
|
||||
time GOPATH="" go test all -short
|
||||
else
|
||||
(xcd pkg
|
||||
gomake testshort
|
||||
|
|
|
|||
Loading…
Reference in New Issue