mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
bitcoin -> Dash
Signed-off-by: Pasta <pasta@dashboost.org>
This commit is contained in:
parent
42583216fe
commit
f16a0f79aa
@ -1,12 +1,12 @@
|
|||||||
# Valgrind suppressions file for Bitcoin.
|
# Valgrind suppressions file for Dash.
|
||||||
#
|
#
|
||||||
# Includes known Valgrind warnings in our dependencies that cannot be fixed
|
# Includes known Valgrind warnings in our dependencies that cannot be fixed
|
||||||
# in-tree.
|
# in-tree.
|
||||||
#
|
#
|
||||||
# Example use:
|
# Example use:
|
||||||
# $ valgrind --suppressions=contrib/valgrind.supp src/test/test_bitcoin
|
# $ valgrind --suppressions=contrib/valgrind.supp src/test/test_dash
|
||||||
# $ valgrind --suppressions=contrib/valgrind.supp --leak-check=full \
|
# $ valgrind --suppressions=contrib/valgrind.supp --leak-check=full \
|
||||||
# --show-leak-kinds=all src/test/test_bitcoin --log_level=test_suite
|
# --show-leak-kinds=all src/test/test_dash --log_level=test_suite
|
||||||
{
|
{
|
||||||
Suppress libstdc++ warning - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65434
|
Suppress libstdc++ warning - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65434
|
||||||
Memcheck:Leak
|
Memcheck:Leak
|
||||||
|
@ -172,15 +172,15 @@ are held, and adds warnings to the debug.log file if inconsistencies are detecte
|
|||||||
|
|
||||||
Valgrind is a programming tool for memory debugging, memory leak detection, and
|
Valgrind is a programming tool for memory debugging, memory leak detection, and
|
||||||
profiling. The repo contains a Valgrind suppressions file
|
profiling. The repo contains a Valgrind suppressions file
|
||||||
([`valgrind.supp`](https://github.com/bitcoin/bitcoin/blob/master/contrib/valgrind.supp))
|
([`valgrind.supp`](https://github.com/dashpay/dash/blob/master/contrib/valgrind.supp))
|
||||||
which includes known Valgrind warnings in our dependencies that cannot be fixed
|
which includes known Valgrind warnings in our dependencies that cannot be fixed
|
||||||
in-tree. Example use:
|
in-tree. Example use:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ valgrind --suppressions=contrib/valgrind.supp src/test/test_bitcoin
|
$ valgrind --suppressions=contrib/valgrind.supp src/test/test_dash
|
||||||
$ valgrind --suppressions=contrib/valgrind.supp --leak-check=full \
|
$ valgrind --suppressions=contrib/valgrind.supp --leak-check=full \
|
||||||
--show-leak-kinds=all src/test/test_bitcoin --log_level=test_suite
|
--show-leak-kinds=all src/test/test_dash --log_level=test_suite
|
||||||
$ valgrind -v --leak-check=full src/bitcoind -printtoconsole
|
$ valgrind -v --leak-check=full src/dashd -printtoconsole
|
||||||
```
|
```
|
||||||
|
|
||||||
**compiling for test coverage**
|
**compiling for test coverage**
|
||||||
@ -196,7 +196,7 @@ To enable LCOV report generation during test runs:
|
|||||||
make
|
make
|
||||||
make cov
|
make cov
|
||||||
|
|
||||||
# A coverage report will now be accessible at `./test_bitcoin.coverage/index.html`.
|
# A coverage report will now be accessible at `./test_dash.coverage/index.html`.
|
||||||
```
|
```
|
||||||
|
|
||||||
Locking/mutex usage notes
|
Locking/mutex usage notes
|
||||||
|
Loading…
Reference in New Issue
Block a user