Commit 6aab15b9 authored by Sam Thursfield's avatar Sam Thursfield

functional-tests: Avoid crash on error when TRACKER_TESTS_VERBOSE=1

parent 0f01a9aa
......@@ -120,7 +120,10 @@ class Helper:
return True # continue
else:
self.process_watch_timeout = 0
error = self.process.stderr.read()
if options.is_verbose():
error = ""
else:
error = self.process.stderr.read()
raise RuntimeError("%s exited with status: %i\n%s" % (self.PROCESS_NAME, status, error))
def _timeout_on_idle_cb (self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment