mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 06:32:44 +00:00
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@redhat.com> Acked-by: Pavel Grunt <pgrunt@redhat.com>
This commit is contained in:
parent
06c85b5f04
commit
3db256430b
@ -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) \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user