|
|
@ -48,8 +48,7 @@ cov:
|
|
|
|
|
|
|
|
|
|
|
|
test: dev
|
|
|
|
test: dev
|
|
|
|
go test -tags "$(GOTAGS)" -i -run '^$$' ./...
|
|
|
|
go test -tags "$(GOTAGS)" -i -run '^$$' ./...
|
|
|
|
go test -tags "$(GOTAGS)" -v $$(go list ./... | egrep -v '(consul/consul|vendor)') > test.log 2>&1 || true
|
|
|
|
go test -tags "$(GOTAGS)" -v ./... > 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
|
|
|
|
|
|
|
|
|
|
|
|