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:
Russ Cox 2011-12-21 01:24:57 -05:00
parent 9754d61552
commit efa2246e42
1 changed files with 2 additions and 2 deletions

View File

@ -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