| Index: tools/testrunner/local/execution.py
|
| diff --git a/tools/testrunner/local/execution.py b/tools/testrunner/local/execution.py
|
| index 4c63fb6e63f6ba1aac2a3b0da0f1bdbfc8e9e2f1..02c48a845cf2e04ed662aa95dd64fabab7c2dacc 100644
|
| --- a/tools/testrunner/local/execution.py
|
| +++ b/tools/testrunner/local/execution.py
|
| @@ -72,6 +72,8 @@ class Runner(object):
|
| if not context.no_sorting:
|
| for t in self.tests:
|
| t.duration = self.perfdata.FetchPerfData(t) or 1.0
|
| + slow_key = lambda t: statusfile.IsSlow(t.outcomes)
|
| + self.tests.sort(key=slow_key, reverse=True)
|
| self.tests.sort(key=lambda t: t.duration, reverse=True)
|
| self._CommonInit(suites, progress_indicator, context)
|
|
|
|
|