mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
test: add valgrind memory checks
Copy over the "make memcheck" target from libshl. It runs the test-suite again via valgrind and fails on any valgrind warnings. This is very useful to find memory-leaks and invalid memory-accesses via the test-suite. Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
This commit is contained in:
parent
729acb64ca
commit
9cb0a092c2
4 changed files with 92 additions and 2 deletions
15
test.supp
Normal file
15
test.supp
Normal file
|
@ -0,0 +1,15 @@
|
|||
#
|
||||
# Some suppression rules for our test-suite to work correctly.
|
||||
# libcheck has some weird errors, so lets ignore them.
|
||||
#
|
||||
|
||||
{
|
||||
libcheck timer_create warnings
|
||||
Memcheck:Param
|
||||
timer_create(evp)
|
||||
fun:timer_create
|
||||
obj:/usr/lib/libcheck.so.0.0.0
|
||||
obj:/usr/lib/libcheck.so.0.0.0
|
||||
fun:srunner_run
|
||||
fun:main
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue