Reviewers: Michael Achenbach,

Description:
Use non-copying sorting in test harness.

[email protected]

Please review this at https://codereview.chromium.org/300873006/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+1, -1 lines):
  M tools/testrunner/local/execution.py


Index: tools/testrunner/local/execution.py
diff --git a/tools/testrunner/local/execution.py b/tools/testrunner/local/execution.py index 80a5989be2f255a672b872adca74b284ad2ef49c..13e3439d6c74364a0489807e1f9729f2293f312a 100644
--- a/tools/testrunner/local/execution.py
+++ b/tools/testrunner/local/execution.py
@@ -95,7 +95,7 @@ class Runner(object):
     queue = []
     queued_exception = None
     if not self.context.no_sorting:
- self.tests = sorted(self.tests, key=lambda t: t.duration, reverse=True)
+      self.tests.sort(key=lambda t: t.duration, reverse=True)
     for test in self.tests:
       assert test.id >= 0
       test_map[test.id] = test


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to