Makefile: remove old remnant package filter
This commit is contained in:
parent
210cfafdd6
commit
e448fc8665
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -237,10 +237,10 @@ worker-key-pair: ca
|
|||
.PHONY: unit-tests
|
||||
.ONESHELL:
|
||||
unit-tests:
|
||||
go test -race -covermode=atomic -coverprofile=coverage.txt -coverpkg=$$(go list ./... | grep -v rpmmd/test$ | tr "\n" ",") ./...
|
||||
go test -race -covermode=atomic -coverprofile=coverage.txt -coverpkg=$$(go list ./... | tr "\n" ",") ./...
|
||||
# go modules with go.mod in subdirs are not tested automatically
|
||||
cd pkg/splunk_logger
|
||||
go test -race -covermode=atomic -coverprofile=../../coverage_splunk_logger.txt -coverpkg=$$(go list ./... | grep -v rpmmd/test$ | tr "\n" ",") ./...
|
||||
go test -race -covermode=atomic -coverprofile=../../coverage_splunk_logger.txt -coverpkg=$$(go list ./... | tr "\n" ",") ./...
|
||||
|
||||
.PHONY: coverage-report
|
||||
coverage-report: unit-tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue