2013-05-29 16:20:06 -05:00
|
|
|
#!/bin/sh
|
|
|
|
|
2014-01-19 02:35:41 -06: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)
|