summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-14 11:00:44 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-14 11:00:44 -0500
commit52abde22130dc37d6ab7d0f3dc6e4a8f97d990ed (patch)
tree4d743ef95a66d34d4079a51af1d20617ed04c04c /tests
parentaec0842632ea32fec9939c221fb5554d1900a3a5 (diff)
downloadhorizon-52abde22130dc37d6ab7d0f3dc6e4a8f97d990ed.tar.gz
horizon-52abde22130dc37d6ab7d0f3dc6e4a8f97d990ed.tar.bz2
horizon-52abde22130dc37d6ab7d0f3dc6e4a8f97d990ed.tar.xz
horizon-52abde22130dc37d6ab7d0f3dc6e4a8f97d990ed.zip
tests: Add Valgrind support and suppression file
Diffstat (limited to 'tests')
-rw-r--r--tests/valgrind.supp22
1 files changed, 22 insertions, 0 deletions
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-*
+}