mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-28 16:27:50 +00:00
Merge pull request #2480 from Bevisy/main
makefile: Fix error exit status code
This commit is contained in:
commit
9bbaa66f39
@ -610,6 +610,7 @@ ifeq ($(shell id -u), 0)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
go-test: $(GENERATED_FILES)
|
go-test: $(GENERATED_FILES)
|
||||||
|
$(QUIET_BUILD)(cd $(SHIMV2_DIR)/ && ln -fs $(GENERATED_CONFIG))
|
||||||
go test -v -mod=vendor ./...
|
go test -v -mod=vendor ./...
|
||||||
|
|
||||||
check-go-static:
|
check-go-static:
|
||||||
@ -617,6 +618,7 @@ check-go-static:
|
|||||||
$(QUIET_CHECK)../../ci/go-no-os-exit.sh ./virtcontainers
|
$(QUIET_CHECK)../../ci/go-no-os-exit.sh ./virtcontainers
|
||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
|
$(QUIET_BUILD)(cd $(SHIMV2_DIR)/ && ln -fs $(GENERATED_CONFIG))
|
||||||
go test -v -mod=vendor -covermode=atomic -coverprofile=coverage.txt ./...
|
go test -v -mod=vendor -covermode=atomic -coverprofile=coverage.txt ./...
|
||||||
go tool cover -html=coverage.txt -o coverage.html
|
go tool cover -html=coverage.txt -o coverage.html
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user