mirror of https://github.com/hashicorp/consul
parent
4403db0d63
commit
68cac3d40c
|
@ -48,7 +48,8 @@ cov:
|
||||||
|
|
||||||
test: dev
|
test: dev
|
||||||
go test -tags "$(GOTAGS)" -i -run '^$$' ./...
|
go test -tags "$(GOTAGS)" -i -run '^$$' ./...
|
||||||
go test -tags "$(GOTAGS)" -v ./... > test.log 2>&1 || true
|
go test -tags "$(GOTAGS)" -v $$(go list ./... | egrep -v '(consul/consul|vendor)') > test.log 2>&1 || true
|
||||||
|
go test -tags "$(GOTAGS)" -v github.com/hashicorp/consul/consul >> test.log 2>&1 || true
|
||||||
@if [ "$$TRAVIS" == "true" ] ; then cat test.log ; fi
|
@if [ "$$TRAVIS" == "true" ] ; then cat test.log ; fi
|
||||||
@if grep -q 'FAIL:' test.log ; then grep 'FAIL:' test.log ; exit 1 ; else echo 'PASS' ; fi
|
@if grep -q 'FAIL:' test.log ; then grep 'FAIL:' test.log ; exit 1 ; else echo 'PASS' ; fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue