From 52abde22130dc37d6ab7d0f3dc6e4a8f97d990ed Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 14 Oct 2019 11:00:44 -0500 Subject: tests: Add Valgrind support and suppression file --- tests/valgrind.supp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tests/valgrind.supp (limited to 'tests') diff --git a/tests/valgrind.supp b/tests/valgrind.supp new file mode 100644 index 0000000..b9c60f5 --- /dev/null +++ b/tests/valgrind.supp @@ -0,0 +1,22 @@ +# musl ldpath file stuff (upstream this into valgrind apk someday) +{ + musl:ldpath + Memcheck:Leak + match-leak-kinds: reachable + fun:realloc + fun:getdelim + ... + fun:__dls3 + obj:/lib/ld-musl-* +} +# CLIPP global ctor in .init +{ + clipp:ctor + Memcheck:Leak + match-leak-kinds: reachable + fun:malloc + ... + fun:do_init_fini + fun:__libc_start_init + obj:/lib/ld-musl-* +} -- cgit v1.2.3-70-g09d2