[Spice-commits] m4/ax_valgrind_check.m4
Frediano Ziglio
fziglio at kemper.freedesktop.org
Mon Apr 24 07:07:22 UTC 2017
m4/ax_valgrind_check.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3db256430b03d83ea6e66ae52ac3ff2a905d11cf
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Fri Apr 21 12:53:48 2017 +0100
build-sys: Do not abort on warnings
This causes some tests to fail when run on Valgrind.
In the code warnings are not supposed to cause crashes.
This change avoid overriding entirely G_DEBUG definition but
just append gc-friendly which make Valgrind more effective.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Pavel Grunt <pgrunt at redhat.com>
diff --git a/m4/ax_valgrind_check.m4 b/m4/ax_valgrind_check.m4
index 1c1c0cd4..ac62fff3 100644
--- a/m4/ax_valgrind_check.m4
+++ b/m4/ax_valgrind_check.m4
@@ -198,7 +198,7 @@ VALGRIND_TESTS_ENVIRONMENT = \
$(TESTS_ENVIRONMENT) \
env VALGRIND=$(VALGRIND) \
G_SLICE=always-malloc,debug-blocks \
- G_DEBUG=fatal-warnings,fatal-criticals,gc-friendly
+ G_DEBUG=$${G_DEBUG:+$$G_DEBUG,}gc-friendly
VALGRIND_LOG_COMPILER = \
$(valgrind_lt) \
More information about the Spice-commits
mailing list