]> Cypherpunks repositories - gostls13.git/commitdiff
build: rewrite to use bash time builtin
authorRuss Cox <rsc@golang.org>
Wed, 21 Dec 2011 06:24:57 +0000 (01:24 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 21 Dec 2011 06:24:57 +0000 (01:24 -0500)
Should help windows/amd64

R=adg
CC=golang-dev
https://golang.org/cl/5500058

src/run.bash

index 7d8b9bce060b450ae3fe792a5626f0875663e590..b3cf7862c5549408491a14c4241c334e02247c64 100755 (executable)
@@ -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