OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new repo
[bytom/vapor.git]
/
vendor
/
github.com
/
tendermint
/
tmlibs
/
test.sh
1
#!/usr/bin/env bash
2
3
set -e
4
echo "" > coverage.txt
5
6
for d in $(go list ./... | grep -v vendor); do
7
go test -race -coverprofile=profile.out -covermode=atomic "$d"
8
if [ -f profile.out ]; then
9
cat profile.out >> coverage.txt
10
rm profile.out
11
fi
12
done