aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-08-09 18:08:31 +0800
committerWei-Ning Huang <aitjcize@gmail.com>2018-08-09 18:08:31 +0800
commit36cce13f83e6aa2e3ee67b787f6cb133066425a9 (patch)
treefbf82e0956e0ca3e79a56a14ede9c4ae3f330d9a
parentd28cc2c0cf87061fed9356509a28a307b9f55943 (diff)
downloaddexon-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--GNUmakefile2
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; \