Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(26)

Issue 8266046: code review 8266046: misc/dashboard/builder: add -race builder support (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by dave
Modified:
12 years ago
Reviewers:
CC:
adg, dvyukov, albert.strasheim, golang-dev
Visibility:
Public.

Description

misc/dashboard/builder: add -race builder support If the build key contains -race, the builder will invoke to the race.{bat,bash} build command. This allows {darwin,linux,windows}-amd64 builders to do race and non race builds in sequence.

Patch Set 1 #

Patch Set 2 : diff -r 63ec3597ddee https://code.google.com/p/go #

Patch Set 3 : diff -r 63ec3597ddee https://code.google.com/p/go #

Total comments: 2

Patch Set 4 : diff -r 6b6253f60ef9 https://code.google.com/p/go #

Patch Set 5 : diff -r 6b6253f60ef9 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -1 line) Patch
M misc/dashboard/builder/main.go View 1 2 3 3 chunks +12 lines, -1 line 0 comments Download

Messages

Total messages: 16
dave_cheney.net
Hello adg@golang.org, dvyukov@google.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
12 years, 1 month ago (2013-04-05 01:39:02 UTC) #1
dvyukov
>This allows {darwin,linux,windows}-amd64 builders to do race and non race builds in sequence. I do ...
12 years, 1 month ago (2013-04-05 05:01:00 UTC) #2
dave_cheney.net
> If the builder does not contain -race in it's name, then it won't do ...
12 years, 1 month ago (2013-04-05 05:12:22 UTC) #3
albert.strasheim
FWIW, I see race.bash does this: go install -race std go test -race -short std ...
12 years, 1 month ago (2013-04-05 05:17:29 UTC) #4
dvyukov
On Thu, Apr 4, 2013 at 10:17 PM, <fullung@gmail.com> wrote: > FWIW, I see race.bash ...
12 years, 1 month ago (2013-04-05 05:42:06 UTC) #5
albert.strasheim
On 2013/04/05 05:42:06, dvyukov wrote: > On Thu, Apr 4, 2013 at 10:17 PM, <mailto:fullung@gmail.com> ...
12 years, 1 month ago (2013-04-05 05:44:08 UTC) #6
dvyukov
On Thu, Apr 4, 2013 at 10:12 PM, Dave Cheney <dave@cheney.net> wrote: > > If ...
12 years, 1 month ago (2013-04-05 05:44:18 UTC) #7
dave_cheney.net
> Hey, wait, we have 2 race builders? Yup, using this modification to the builder ...
12 years, 1 month ago (2013-04-05 05:46:39 UTC) #8
dvyukov
Have you seen such failures on race builders? I can't recall it on my linux ...
12 years, 1 month ago (2013-04-05 05:47:45 UTC) #9
dvyukov
On Thu, Apr 4, 2013 at 10:46 PM, Dave Cheney <dave@cheney.net> wrote: > > Hey, ...
12 years, 1 month ago (2013-04-05 05:50:26 UTC) #10
dave_cheney.net
> It looks somewhat implicit and fragile that builder name affects the > command. > ...
12 years, 1 month ago (2013-04-05 05:52:28 UTC) #11
albert.strasheim
Hello On 2013/04/05 05:47:45, dvyukov wrote: > Have you seen such failures on race builders? ...
12 years, 1 month ago (2013-04-05 05:54:27 UTC) #12
adg
I would also prefer to just use -cmd=race.bash for now. https://codereview.appspot.com/8266046/diff/5001/misc/dashboard/builder/main.go File misc/dashboard/builder/main.go (right): https://codereview.appspot.com/8266046/diff/5001/misc/dashboard/builder/main.go#newcode219 ...
12 years ago (2013-04-08 04:39:33 UTC) #13
adg
LGTM Actually, no. This is fine. Please just address my comment first.
12 years ago (2013-04-08 04:40:07 UTC) #14
dave_cheney.net
Done. Submitting. https://codereview.appspot.com/8266046/diff/5001/misc/dashboard/builder/main.go File misc/dashboard/builder/main.go (right): https://codereview.appspot.com/8266046/diff/5001/misc/dashboard/builder/main.go#newcode219 misc/dashboard/builder/main.go:219: if strings.Index(b.name, "-race") >= 0 { On ...
12 years ago (2013-04-09 02:47:42 UTC) #15
dave_cheney.net
12 years ago (2013-04-09 02:48:21 UTC) #16
*** Submitted as https://code.google.com/p/go/source/detail?r=01679e274dd1 ***

misc/dashboard/builder: add -race builder support

If the build key contains -race, the builder will invoke to the race.{bat,bash}
build command. This allows {darwin,linux,windows}-amd64 builders to do race and
non race builds in sequence.

R=adg, dvyukov, fullung
CC=golang-dev
https://codereview.appspot.com/8266046
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b