constabulary / gb

gb, the project based build tool for Go

Home Page:https://getgb.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for the race detector

ardan-bkennedy opened this issue · comments

Having the ability to run gb build and gb test with the -race option. This is an important tool that everyone should be using.

Shouldn't be a problem but it is blocked by cgo support and figuring out
what to do hashing build tags to make conditional compilation sane.

On Sat, 16 May 2015 13:21 William Kennedy notifications@github.com wrote:

Having the ability to run gb build and gb test with the -race option. This
is an important tool that everyone should be using.


Reply to this email directly or view it on GitHub
#96.

commented

Any news, guys?

It's on the list, below finishing gb-vendor and cgo support.

On Mon, Jun 15, 2015 at 8:30 PM, rmr notifications@github.com wrote:

Any news, guys?


Reply to this email directly or view it on GitHub
#96 (comment).

I would also like this to be implemented in gb build, please.

I think the pre-reqs for this one are completed now. Any thoughts on this?

Yup, the big blocker was tag support which is now done.

On Wed, 30 Sep 2015 05:15 Doug Clark notifications@github.com wrote:

I think the pre-reqs for this one are completed now. Any thoughts on
this?


Reply to this email directly or view it on GitHub
#96 (comment).

Very excited about this. Just finished migrating my day job project to gb, and I miss running race on all my tests.

Most of you guys probably know this 😄 but you can work around this limitation by updating GOPATH (GOPATH=$PROJECT_DIR/vendor:$PROJECT_DIR) and then running go {build,install,test} -race ./src/... , just in case someone gets stuck here.