1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-21 02:58:44 +00:00
Files
norman/vendor/github.com/json-iterator/go/test.sh
Alena Prokharchyk 57e8282a33 k8s vendor to 1.10.5
2018-07-11 16:44:45 -07:00

13 lines
285 B
Bash
Executable File

#!/usr/bin/env bash
set -e
echo "" > coverage.txt
for d in $(go list ./... | grep -v vendor); do
go test -coverprofile=profile.out -coverpkg=github.com/json-iterator/go $d
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
done