summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-07 22:04:24 +0000
committerojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-07 22:04:24 +0000
commit5b5b57f0766004b94726ec24d5c8bbec89c2042e (patch)
tree50aca9122079d0016aececb8ebba9fc7fbf26c1e
parent0bc465574611c71326ec4451d4bcc12ec3be9ab1 (diff)
downloadchromium_src-5b5b57f0766004b94726ec24d5c8bbec89c2042e.zip
chromium_src-5b5b57f0766004b94726ec24d5c8bbec89c2042e.tar.gz
chromium_src-5b5b57f0766004b94726ec24d5c8bbec89c2042e.tar.bz2
Fix sorting of test lists.
Review URL: http://codereview.chromium.org/63092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13290 0039d316-1c4b-4281-b951-d872f2087c98
-rwxr-xr-xwebkit/tools/layout_tests/run_webkit_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/tools/layout_tests/run_webkit_tests.py b/webkit/tools/layout_tests/run_webkit_tests.py
index 5804d2c..e86668f 100755
--- a/webkit/tools/layout_tests/run_webkit_tests.py
+++ b/webkit/tools/layout_tests/run_webkit_tests.py
@@ -360,7 +360,7 @@ class TestRunner:
http_tests = test_list_tuple
else:
test_lists.append(test_list_tuple)
- test_lists.sort(lambda a, b: cmp(len(b), len(a)))
+ test_lists.sort(lambda a, b: cmp(len(b[1]), len(a[1])))
# Put the http tests first. There are only a couple hundred of them, but
# each http test takes a very long time to run, so sorting by the number