summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-14 13:54:44 +0300
committerValery Piashchynski <[email protected]>2020-12-14 13:54:44 +0300
commitf6063d06d3a381036abd672dfbb799d777455fb0 (patch)
tree2370c6e2263fd286d8fe412de951304df69f9806 /Makefile
parent00b42663891713f142a6cc67bcccdc31353daeb2 (diff)
fix tests issues
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile28
1 files changed, 15 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index bb1e1975..e3f00c63 100755
--- a/Makefile
+++ b/Makefile
@@ -24,19 +24,21 @@ uninstall: ## Uninstall locally installed RR
rm -f /usr/local/bin/rr
test: ## Run application tests
- 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 ./...