Skip to content

Commit

Permalink
[tests] add knet valgrind suppression file
Browse files Browse the repository at this point in the history
remove some error reporting for now, since they are known and
harmless race conditions.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Jun 19, 2016
1 parent d5c5aaf commit f5098f0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build-aux/check.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VALGRIND = valgrind -q --error-exitcode=127
VALGRIND = valgrind -q --error-exitcode=127 --suppressions=$(top_srcdir)/build-aux/knet_valgrind.supp

MEMCHECK = $(VALGRIND) --track-fds=yes --leak-check=full
HELGRIND = $(VALGRIND) --tool=helgrind
Expand Down
16 changes: 16 additions & 0 deletions build-aux/knet_valgrind.supp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
link enable/disable known race (safe to ignore)
Helgrind:Race
fun:_link_updown
fun:knet_link_set_enable
fun:test
fun:main
}
{
link enable/disable known race (safe to ignore)
Helgrind:Race
fun:_handle_heartbt_thread
obj:/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so
fun:start_thread
fun:clone
}

0 comments on commit f5098f0

Please sign in to comment.