mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-28 17:25:05 +00:00
validate: store valgrind logs to its own file
This commit is contained in:
parent
2aeaa1b279
commit
c23bac2912
|
@ -279,12 +279,16 @@ class Test(Loggable):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def use_valgrind(self):
|
def use_valgrind(self):
|
||||||
|
vglogsfile = self.logfile + '.valgrind'
|
||||||
|
self.extra_logfiles.append(vglogsfile)
|
||||||
|
|
||||||
vg_args = [
|
vg_args = [
|
||||||
('trace-children', 'yes'),
|
('trace-children', 'yes'),
|
||||||
('tool', 'memcheck'),
|
('tool', 'memcheck'),
|
||||||
('leak-check', 'full'),
|
('leak-check', 'full'),
|
||||||
('leak-resolution', 'high'),
|
('leak-resolution', 'high'),
|
||||||
('num-callers', '20'),
|
('num-callers', '20'),
|
||||||
|
('log-file', vglogsfile),
|
||||||
]
|
]
|
||||||
|
|
||||||
supps = self.get_valgrind_suppressions()
|
supps = self.get_valgrind_suppressions()
|
||||||
|
|
Loading…
Reference in a new issue