d574a3af6d
This commit contains the entire btcdb repository along with several changes needed to move all of the files into the database directory in order to prepare it for merging. This does NOT update btcd or any of the other packages to use the new location as that will be done separately. - All import paths in the old btcdb test files have been changed to the new location - All references to btcdb as the package name have been chagned to database - The coveralls badge has been removed since it unfortunately doesn't support coverage of sub-packages This is ongoing work toward #214.
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)
|