mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
[docs] Add instructions for lcov coverage report generation
This commit is contained in:
parent
5e468994fb
commit
5ff01c2363
@ -182,6 +182,22 @@ $ valgrind --suppressions=contrib/valgrind.supp --leak-check=full \
|
|||||||
$ valgrind -v --leak-check=full src/bitcoind -printtoconsole
|
$ valgrind -v --leak-check=full src/bitcoind -printtoconsole
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**compiling for test coverage**
|
||||||
|
|
||||||
|
LCOV can be used to generate a test coverage report based upon `make check`
|
||||||
|
execution. LCOV must be installed on your system (e.g. the `lcov` package
|
||||||
|
on Debian/Ubuntu).
|
||||||
|
|
||||||
|
To enable LCOV report generation during test runs:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
./configure --enable-lcov
|
||||||
|
make
|
||||||
|
make cov
|
||||||
|
|
||||||
|
# A coverage report will now be accessible at `./test_bitcoin.coverage/index.html`.
|
||||||
|
```
|
||||||
|
|
||||||
Locking/mutex usage notes
|
Locking/mutex usage notes
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user