You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
484 B
11 lines
484 B
9 years ago
|
#!/bin/sh
|
||
|
|
||
|
# 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)
|