2013-05-29 23:20:06 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2014-01-19 09:35:41 +01:00
|
|
|
# This script uses go tool cover to generate a test coverage report.
|
|
|
|
go test -coverprofile=cov.out && go tool cover -func=cov.out && rm -f cov.out
|
|
|
|
echo "============================================================"
|
|
|
|
(cd ldb && go test -coverprofile=cov.out && go tool cover -func=cov.out && \
|
|
|
|
rm -f cov.out)
|
|
|
|
echo "============================================================"
|
|
|
|
(cd memdb && go test -coverprofile=cov.out && go tool cover -func=cov.out && \
|
|
|
|
rm -f cov.out)
|