mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Print test info when run ut (#14470)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
parent
b4c3cd8cf2
commit
0ddf890a32
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user