9"""Valgrind flavor, used for running code through Valgrind."""
14 super(ValgrindFlavor, self).
__init__(m, app_name)
16 'skia',
'tools',
'valgrind.supp')
22 def step(self, name, cmd, **kwargs):
23 new_cmd = [self.
_valgrind,
'--gen-suppressions=all',
'--leak-check=full',
24 '--track-origins=yes',
'--error-exitcode=1',
'--num-callers=40',
26 path_to_app = self.
host_dirs.bin_dir.join(cmd[0])
27 new_cmd.append(path_to_app)
28 new_cmd.extend(cmd[1:])
30 return self.
m.
run(self.
m.step, name, cmd=new_cmd, **kwargs)
def step(self, name, cmd, **kwargs)
def __init__(self, m, app_name)
static SkString join(const CommandLineFlags::StringArray &)