aboutsummaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-10-03 14:28:15 +0800
committerGitHub <noreply@github.com>2018-10-03 14:28:15 +0800
commit3bab25bee98df72a25c273d6de1166facaa6a69e (patch)
treeade5c480c87d282c291777b5644a5b6d22b69525 /GNUmakefile
parent4d2cd087071d4892afae383dae98dcbdb8431e9b (diff)
downloadtangerine-consensus-3bab25bee98df72a25c273d6de1166facaa6a69e.tar.gz
tangerine-consensus-3bab25bee98df72a25c273d6de1166facaa6a69e.tar.zst
tangerine-consensus-3bab25bee98df72a25c273d6de1166facaa6a69e.zip
CurcleCI: Run full test on master (#164)
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index dd4a857..e1fc38a 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -68,6 +68,14 @@ lint:
vet:
@go vet `go list ./... | grep -v 'vendor'`
+test-short:
+ @for pkg in `go list ./... | grep -v 'vendor'`; do \
+ if ! go test -race -short $$pkg; then \
+ echo 'Some test failed, abort'; \
+ exit 1; \
+ fi; \
+ done
+
test:
@for pkg in `go list ./... | grep -v 'vendor'`; do \
if ! go test -race $$pkg; then \