1
0
mirror of https://github.com/json-iterator/go.git synced 2025-03-17 20:47:45 +02:00

make test faster

This commit is contained in:
Tao Wen 2017-07-15 18:09:06 +08:00
parent 4b33139ad0
commit b46d0a2324

View File

@ -4,7 +4,7 @@ set -e
echo "" > coverage.txt
for d in $(go list ./... | grep -v vendor); do
go test -race -coverprofile=profile.out -covermode=atomic $d
go test -coverprofile=profile.out $d
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out