Skip to content

Commit

Permalink
Makefile: make race test parallel on package level
Browse files Browse the repository at this point in the history
  • Loading branch information
tiancaiamao committed Nov 14, 2016
1 parent 5b21b00 commit 217aa89
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,7 @@ gotest:

race:
@export log_level=debug; \
dirs=`go list ./... | grep -vE 'vendor' | awk '{sub("github.com/pingcap/tidb/",""); print}'`;\
for dir in $$dirs; do \
cd $$dir;\
$(GOTEST) -race | awk 'END{if($$1=="FAIL") {exit 1}}' || exit 1;\
cd -;\
done;
$(GOTEST) -race $(PACKAGES)

tikv_integration_test:
$(GOTEST) ./store/tikv/. -with-tikv=true
Expand Down

0 comments on commit 217aa89

Please sign in to comment.