From 59467128109d1812e59f20404c8cf453fd44a5f5 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sat, 19 Nov 2011 08:08:12 +0100 Subject: [PATCH] Some build fixes --- Makefile.decl | 2 +- build/unknown.supp | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Makefile.decl b/Makefile.decl index 9ea9528..b6072e6 100644 --- a/Makefile.decl +++ b/Makefile.decl @@ -3,6 +3,7 @@ NULL = TEST_SUPPRESSIONS = $(top_builddir)/build/valgrind-suppressions perform-memcheck: $(TEST_PROGS) $(TEST_SUPPRESSIONS) + @make -C $(top_builddir)/build all @for test in $(TEST_PROGS); do \ G_SLICE=always-malloc libtool --mode=execute \ valgrind --trace-children=no --gen-suppressions=all \ @@ -23,6 +24,5 @@ coverage: clear-coverage: $(LCOV) --directory . --zerocounters -.PHONY: coverage endif \ No newline at end of file diff --git a/build/unknown.supp b/build/unknown.supp index 314570c..b57beb3 100644 --- a/build/unknown.supp +++ b/build/unknown.supp @@ -353,3 +353,14 @@ fun:g_main_loop_run fun:gdbus_shared_thread_func } +{ + + Memcheck:Leak + ... + fun:g_set_error_literal + fun:g_cancellable_set_error_if_cancelled + fun:g_socket_receive_message + ... + fun:g_main_loop_run + fun:gdbus_shared_thread_func +}