1
0
mirror of https://github.com/golang/go synced 2024-11-21 15:34:45 -07:00

misc/dashboard/builder: remove build files after benchmarking

R=r
CC=golang-dev
https://golang.org/cl/2270041
This commit is contained in:
Andrew Gerrand 2010-09-30 11:59:36 +10:00
parent 5ec55c5134
commit fdb9e68c4e

View File

@ -129,6 +129,8 @@ func runQueuedBenchmark() bool {
func runBenchmark(r BenchRequest) {
// run benchmarks and send to dashboard
log.Stderrf("%s benchmarking %d", r.builder.name, r.commit.num)
defer os.RemoveAll(r.path)
pkg := path.Join(r.path, "go", "src", "pkg")
bin := path.Join(r.path, "go", "bin")
env := []string{