Valgrind fixes
This commit is contained in:
parent
520f20def5
commit
794a17c2bb
5 changed files with 32 additions and 17 deletions
|
|
@ -98,6 +98,8 @@ The `mem.sh` runs memory checks using valgrind. Start it with no arguments to te
|
|||
mem.sh restconf backend # Only backend and cli
|
||||
```
|
||||
|
||||
Valgrind uses a suppression file `valgrind-clixon.supp` to filter dlopen functions
|
||||
|
||||
## Run pattern of tests
|
||||
|
||||
The above scripts work with the `pattern` variable to limit the scope of which tests run, eg:
|
||||
|
|
|
|||
|
|
@ -29,6 +29,13 @@
|
|||
fun:*
|
||||
fun:_dl_check_map_versions
|
||||
}
|
||||
{
|
||||
supp4.1
|
||||
Memcheck:Leak
|
||||
match-leak-kinds: reachable
|
||||
fun:*
|
||||
fun:_dl_check_map_versions
|
||||
}
|
||||
{
|
||||
supp5
|
||||
Memcheck:Leak
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue