mirror of
https://github.com/json-iterator/go.git
synced 2025-05-16 21:45:43 +02:00
make test faster
This commit is contained in:
parent
4b33139ad0
commit
b46d0a2324
2
test.sh
2
test.sh
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user