Skip to content
Snippets Groups Projects
Commit 307b9c16fa78 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

perf: raise an exception if running the perf extension failed

Error should not passe silently.
parent 9af4df5d9669
No related branches found
No related tags found
No related merge requests found
......@@ -675,6 +675,7 @@
msg = "calling perf command failed [%d]: %s %s" % (exc.returncode, command, args)
print(msg, file=sys.stderr)
print(exc.output, file=sys.stderr)
raise RuntimeError(msg)
def perfext(self, command, *args, **kwargs):
"""Use contrib/perf.py extension from mercurial to get a benchmark result"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment