mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-07 21:28:02 +02:00
test: Add --track-origins=yes to valgrind flags.
Enable origin tracking by default for make check-valgrind. This is slower and consumes more memory than regular valgrind, but the additional information provided about the source of the uninitialised data is often invaluable.
This commit is contained in:
parent
3a5d71c431
commit
5187501e99
1 changed files with 3 additions and 1 deletions
|
|
@ -1302,7 +1302,9 @@ TESTS_ENVIRONMENT = CAIRO_TEST_MODE="$(MODE)" CAIRO_TEST_TARGET="$(TARGETS)" CAI
|
|||
EXTRA_VALGRIND_FLAGS = $(CAIRO_EXTRA_VALGRIND_FLAGS)
|
||||
VALGRIND_FLAGS = \
|
||||
--tool=memcheck --suppressions=$(srcdir)/.valgrind-suppressions \
|
||||
--leak-check=yes --show-reachable=yes $(EXTRA_VALGRIND_FLAGS)
|
||||
--track-origins=yes \
|
||||
--leak-check=yes --show-reachable=yes \
|
||||
$(EXTRA_VALGRIND_FLAGS)
|
||||
|
||||
CLEANFILES += \
|
||||
valgrind-log \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue