diff options
Diffstat (limited to 'src/k8splugin/Makefile')
-rw-r--r-- | src/k8splugin/Makefile | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/src/k8splugin/Makefile b/src/k8splugin/Makefile index 3bc7a0e6..d5bdb6fc 100644 --- a/src/k8splugin/Makefile +++ b/src/k8splugin/Makefile @@ -27,17 +27,10 @@ build: clean plugins test cover deploy: build .PHONY: test -test: unit integration - -.PHONY: unit -unit: - @go test -v -tags 'unit' ./... - -.PHONY: integration -integration: clean - @go build -tags 'integration' -buildmode=plugin -o ./mock_files/mock_plugins/mockplugin.so ./mock_files/mock_plugins/mockplugin.go - @go build -tags 'integration' -buildmode=plugin -o ./mock_files/mock_plugins/mocknetworkplugin.so ./mock_files/mock_plugins/mocknetworkplugin.go - @go test -v -tags 'integration' ./... +test: clean + @go build -buildmode=plugin -o ./mock_files/mock_plugins/mockplugin.so ./mock_files/mock_plugins/mockplugin.go + @go build -buildmode=plugin -o ./mock_files/mock_plugins/mocknetworkplugin.so ./mock_files/mock_plugins/mocknetworkplugin.go + @go test -v ./... format: @go fmt ./... @@ -51,5 +44,5 @@ clean: .PHONY: cover cover: - @go test -tags 'unit' ./... -coverprofile=coverage.out + @go test ./... -coverprofile=coverage.out @go tool cover -html=coverage.out -o coverage.html |