diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-10-03 14:28:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-03 14:28:15 +0800 |
commit | 3bab25bee98df72a25c273d6de1166facaa6a69e (patch) | |
tree | ade5c480c87d282c291777b5644a5b6d22b69525 /GNUmakefile | |
parent | 4d2cd087071d4892afae383dae98dcbdb8431e9b (diff) | |
download | tangerine-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-- | GNUmakefile | 8 |
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 \ |