mirror of
https://github.com/kubernetes/sample-controller.git
synced 2025-02-08 06:52:56 +08:00
![Kubernetes Publisher](/assets/img/avatar_default.png)
Update reflect2 to 1.0.1 (memory utilization fix) Kubernetes-commit: a94ea824eb59e92188f166c302d7995ba9002667
13 lines
321 B
Bash
Executable File
13 lines
321 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
echo "" > coverage.txt
|
|
|
|
for d in $(go list github.com/modern-go/reflect2-tests/... | grep -v vendor); do
|
|
go test -coverprofile=profile.out -coverpkg=github.com/modern-go/reflect2 $d
|
|
if [ -f profile.out ]; then
|
|
cat profile.out >> coverage.txt
|
|
rm profile.out
|
|
fi
|
|
done
|