Files
kopia/coverage.sh
Jarek Kowalski cb0b230e90 upload test
2016-04-14 18:57:45 -07:00

9 lines
232 B
Bash
Executable File

echo mode: set > combined.cov
for p in `go list github.com/kopia/kopia/...`; do
go test --coverprofile tmp.cov $p
grep -v "mode: " tmp.cov >> combined.cov
rm tmp.cov
done
go tool cover -html=combined.cov
rm combined.cov