提交 a935739b 编写于 作者: E Evan Lezar

Add coverage output to tests

Signed-off-by: NEvan Lezar <elezar@nvidia.com>
上级 f766f070
......@@ -78,7 +78,7 @@ mock-hook:
[ ! -e /usr/bin/nvidia-container-runtime-hook ] && echo "" > /usr/bin/nvidia-container-runtime-hook && chmod +x /usr/bin/nvidia-container-runtime-hook || true
test: binary mock-runc mock-hook
@go test -v $(MODULE)/...
@go test -v -coverprofile=coverage.out $(MODULE)/...
@${RM} $(MOCK_RUNC)
.PHONY: docker-test
......@@ -90,4 +90,3 @@ docker-test:
-w $(PWD) \
golang:$(GOLANG_VERSION) \
make test
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册