diff --git a/Makefile b/Makefile index b942835c6d8..42649041b8a 100644 --- a/Makefile +++ b/Makefile @@ -238,7 +238,7 @@ ifneq (,$(shell which tparse 2>/dev/null)) finalec=0; \ for module in $(SUB_MODULES); do \ cd ${CURRENT_DIR}/$$module; \ - echo "Running unit tests for module $$module"; \ + echo "Running unit tests for $$(grep '^module' go.mod)"; \ go test -mod=readonly -json $(ARGS) $(TEST_PACKAGES) ./... | tparse; \ ec=$$?; \ if [ "$$ec" -ne '0' ]; then finalec=$$ec; fi; \ @@ -249,7 +249,7 @@ else finalec=0; \ for module in $(SUB_MODULES); do \ cd ${CURRENT_DIR}/$$module; \ - echo "Running unit tests for module $$module"; \ + echo "Running unit tests for $$(grep '^module' go.mod)"; \ go test -mod=readonly $(ARGS) $(TEST_PACKAGES) ./... ; \ ec=$$?; \ if [ "$$ec" -ne '0' ]; then finalec=$$ec; fi; \