From 0ddf890a32eeecf3a2bd66f7473af2d061d1d188 Mon Sep 17 00:00:00 2001 From: xige-16 Date: Wed, 29 Dec 2021 13:49:20 +0800 Subject: [PATCH] Print test info when run ut (#14470) Signed-off-by: xige-16 --- scripts/run_go_codecov.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run_go_codecov.sh b/scripts/run_go_codecov.sh index 052ef226d4..dfa2bc8102 100755 --- a/scripts/run_go_codecov.sh +++ b/scripts/run_go_codecov.sh @@ -25,7 +25,7 @@ echo "mode: atomic" > ${FILE_COVERAGE_INFO} # run unittest echo "Running unittest under ./internal" for d in $(go list ./internal... | grep -v vendor); do - go test -race -coverpkg=./... -coverprofile=profile.out -covermode=atomic "$d" + go test -race -v -coverpkg=./... -coverprofile=profile.out -covermode=atomic "$d" if [ -f profile.out ]; then sed '1d' profile.out >> ${FILE_COVERAGE_INFO} rm profile.out