Home | History | Annotate | Download | only in testrunner

Lines Matching refs:valgrind

150 def RunHostCommand(binary, valgrind=False):
151 """Run a command on the host (opt using valgrind).
156 The command can be run under valgrind in which case all the
161 valgrind: If True the command will be run under valgrind.
166 if not valgrind:
174 # Need the full path to valgrind to avoid other versions on the system.
175 subproc = subprocess.Popen(["/usr/bin/valgrind", "--tool=memcheck",
178 # Cannot rely on the retcode of valgrind. Instead look for an empty output.
188 """Check that /usr/bin/valgrind exists.
190 We look for the fullpath to avoid picking up 'alternative' valgrind
194 True if a system valgrind was found.
196 return os.path.exists("/usr/bin/valgrind")