mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
turn off code cover.
This commit is contained in:
parent
b351578ddd
commit
e444bf23f6
@ -39,10 +39,10 @@ find_test_dirs() {
|
|||||||
cd "${KUBE_TARGET}"
|
cd "${KUBE_TARGET}"
|
||||||
|
|
||||||
if [ "$1" != "" ]; then
|
if [ "$1" != "" ]; then
|
||||||
go test -race -cover -coverprofile="tmp.out" "$KUBE_GO_PACKAGE/$1"
|
go test -race "$KUBE_GO_PACKAGE/$1"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for package in $(find_test_dirs); do
|
for package in $(find_test_dirs); do
|
||||||
go test -race -cover -coverprofile="tmp.out" "${KUBE_GO_PACKAGE}/${package}"
|
go test -race "${KUBE_GO_PACKAGE}/${package}"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user