forked from TrueCloudLab/frostfs-mfa
[#1] Add test target in Makefile
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
This commit is contained in:
parent
9462aea03d
commit
4514a32e8d
1 changed files with 6 additions and 0 deletions
6
Makefile
6
Makefile
|
@ -32,3 +32,9 @@ protoc: protoc-bin
|
|||
$(PROTOC) --experimental_editions --plugin=protoc-gen-go=$(GOBIN)/protoc-gen-go --go_out=. --go_opt=paths=source_relative $$f \
|
||||
--plugin=protoc-gen-go-grpc=$(GOBIN)/protoc-gen-go-grpc --go-grpc_out=. --go-grpc_opt=require_unimplemented_servers=false,paths=source_relative $$f; \
|
||||
done
|
||||
|
||||
# Run Unit Test with go test
|
||||
test: GOFLAGS ?= "-count=1"
|
||||
test:
|
||||
@echo "> Running go test"
|
||||
@GOFLAGS="$(GOFLAGS)" go test ./...
|
Loading…
Add table
Reference in a new issue