]> Cypherpunks repositories - gostls13.git/commitdiff
run.bash: fix linux/arm build
authorDave Cheney <dave@cheney.net>
Thu, 15 Nov 2012 02:59:46 +0000 (13:59 +1100)
committerDave Cheney <dave@cheney.net>
Thu, 15 Nov 2012 02:59:46 +0000 (13:59 +1100)
Revert to the shell builtin to avoid hosts that do not have /usr/bin/time.

R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/6848054

src/run.bash

index a8ab1894748d49109d39b0a4f80a543d16e6759a..83859781c1d99378a4fa663a7ed291b7f8931a23 100755 (executable)
@@ -115,7 +115,8 @@ echo '#' ../test/bench/go1
 go test ../test/bench/go1
 
 (xcd ../test
-GOMAXPROCS= time go run run.go
+unset GOMAXPROCS
+time go run run.go
 ) || exit $?
 
 echo