зеркало из https://github.com/github/vitess-gh.git
Adding build dependency to unit_test, as it needs mysqlctl.
This commit is contained in:
Родитель
85201575c3
Коммит
cc1326ab56
9
Makefile
9
Makefile
|
@ -48,21 +48,22 @@ clean:
|
|||
clean_pkg:
|
||||
rm -rf ../../../../pkg Godeps/_workspace/pkg
|
||||
|
||||
unit_test:
|
||||
unit_test: build
|
||||
echo $$(date): Running unit tests
|
||||
godep go test $(VT_GO_PARALLEL) ./go/...
|
||||
|
||||
# Run the code coverage tools, compute aggregate.
|
||||
# If you want to improve in a directory, run:
|
||||
# go test -coverprofile=coverage.out && go tool cover -html=coverage.out
|
||||
unit_test_cover:
|
||||
unit_test_cover: build
|
||||
godep go test $(VT_GO_PARALLEL) -cover ./go/... | misc/parse_cover.py
|
||||
|
||||
unit_test_race:
|
||||
unit_test_race: build
|
||||
godep go test $(VT_GO_PARALLEL) -race ./go/...
|
||||
|
||||
# Run coverage and upload to coveralls.io.
|
||||
# Requires the secret COVERALLS_TOKEN env variable to be set.
|
||||
unit_test_goveralls:
|
||||
unit_test_goveralls: build
|
||||
travis/goveralls.sh
|
||||
|
||||
queryservice_test:
|
||||
|
|
Загрузка…
Ссылка в новой задаче