mirror of
https://github.com/btcsuite/btcd.git
synced 2025-02-23 14:40:44 +01:00
10 lines
484 B
Bash
10 lines
484 B
Bash
#!/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)
|