summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-15 14:28:30 +0300
committerValery Piashchynski <[email protected]>2020-12-15 14:28:30 +0300
commit21b51367e27f5a1b166459a115e4655d07a5d832 (patch)
treec3257a2ac38f0688e78ca2c9eeb160fb7a84c55d /Makefile
parent08f073f3bdc1288db68235c098c3a2109c6e7667 (diff)
parentd39a0735fe21d21c5aae20c4780458433a42250a (diff)
Merge branch '2.0' into plugin/reloader
# Conflicts: # go.mod # sync_worker.go
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile29
1 files changed, 15 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index 9ad158ba..e3f00c63 100755
--- a/Makefile
+++ b/Makefile
@@ -24,20 +24,21 @@ uninstall: ## Uninstall locally installed RR
rm -f /usr/local/bin/rr
test: ## Run application tests
- test -d ./vendor_php || composer update --prefer-dist --ansi
- go test -v -race -cover
- go test -v -race -cover ./util
- go test -v -race -cover ./service
- go test -v -race -cover ./service/env
- go test -v -race -cover ./service/rpc
- go test -v -race -cover ./service/http
- go test -v -race -cover ./service/static
- go test -v -race -cover ./service/limit
- go test -v -race -cover ./service/headers
- go test -v -race -cover ./service/metrics
- go test -v -race -cover ./service/health
- go test -v -race -cover ./service/gzip
- go test -v -race -cover ./service/reload
+ go test -v -race -cover -tags=debug -covermode=atomic .
+ go test -v -race -cover -tags=debug -covermode=atomic ./plugins/rpc
+ go test -v -race -cover -tags=debug -covermode=atomic ./plugins/rpc/tests
+ go test -v -race -cover -tags=debug -covermode=atomic ./plugins/config/tests
+ go test -v -race -cover -tags=debug -covermode=atomic ./plugins/logger/tests
+ go test -v -race -cover -tags=debug -covermode=atomic ./plugins/server/tests
+ go test -v -race -cover -tags=debug -covermode=atomic ./plugins/metrics/tests
+ go test -v -race -cover -tags=debug -covermode=atomic ./plugins/informer/tests
+ go test -v -race -cover -tags=debug -covermode=atomic ./plugins/resetter/tests
+ go test -v -race -cover -tags=debug -covermode=atomic ./plugins/http/attributes
+ go test -v -race -cover -tags=debug -covermode=atomic ./plugins/http/tests
+ go test -v -race -cover -tags=debug -covermode=atomic ./plugins/gzip/tests
+ go test -v -race -cover -tags=debug -covermode=atomic ./plugins/static/tests
+ go test -v -race -cover -tags=debug -covermode=atomic ./plugins/headers/tests
+ go test -v -race -cover -tags=debug -covermode=atomic ./plugins/checker/tests
lint: ## Run application linters
go fmt ./...