test: print full module name for headers during 'make test' (#15884)
This commit is contained in:
parent
8fb4a6df53
commit
5eb9a45d47
4
Makefile
4
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; \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user