diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-08-09 18:08:31 +0800 |
---|---|---|
committer | Wei-Ning Huang <aitjcize@gmail.com> | 2018-08-09 18:08:31 +0800 |
commit | 36cce13f83e6aa2e3ee67b787f6cb133066425a9 (patch) | |
tree | fbf82e0956e0ca3e79a56a14ede9c4ae3f330d9a | |
parent | d28cc2c0cf87061fed9356509a28a307b9f55943 (diff) | |
download | dexon-consensus-36cce13f83e6aa2e3ee67b787f6cb133066425a9.tar dexon-consensus-36cce13f83e6aa2e3ee67b787f6cb133066425a9.tar.gz dexon-consensus-36cce13f83e6aa2e3ee67b787f6cb133066425a9.tar.bz2 dexon-consensus-36cce13f83e6aa2e3ee67b787f6cb133066425a9.tar.lz dexon-consensus-36cce13f83e6aa2e3ee67b787f6cb133066425a9.tar.xz dexon-consensus-36cce13f83e6aa2e3ee67b787f6cb133066425a9.tar.zst dexon-consensus-36cce13f83e6aa2e3ee67b787f6cb133066425a9.zip |
Add -race to go test (#38)
-rw-r--r-- | GNUmakefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile index ab39a5c..96a5efa 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -78,7 +78,7 @@ vet: test: @for pkg in `go list ./... | grep -v 'vendor'`; do \ - if ! go test $$pkg; then \ + if ! go test -race $$pkg; then \ echo 'Some test failed, abort'; \ exit 1; \ fi; \ |