| Index: tools/run_perf.py
|
| diff --git a/tools/run_perf.py b/tools/run_perf.py
|
| index 84cc712308c60c7fb45b02067f6ddb347e15457b..20a6537990ac8330b87c65a27841ad087e220088 100755
|
| --- a/tools/run_perf.py
|
| +++ b/tools/run_perf.py
|
| @@ -486,8 +486,13 @@ class DesktopPlatform(Platform):
|
| node.ChangeCWD(path)
|
|
|
| def Run(self, runnable, count):
|
| - output = commands.Execute(runnable.GetCommand(self.shell_dir),
|
| - timeout=runnable.timeout)
|
| + try:
|
| + output = commands.Execute(runnable.GetCommand(self.shell_dir),
|
| + timeout=runnable.timeout)
|
| + except OSError as e:
|
| + print ">>> OSError (#%d):" % (count + 1)
|
| + print e
|
| + return ""
|
| print ">>> Stdout (#%d):" % (count + 1)
|
| print output.stdout
|
| if output.stderr: # pragma: no cover
|
|
|