Adding build dependency to unit_test, as it needs mysqlctl.

This commit is contained in:
Alain Jobart 2015-09-22 09:40:39 -07:00
Родитель 85201575c3
Коммит cc1326ab56
1 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -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: