You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2015/12/01 00:56:55 UTC

svn commit: r1717355 - /subversion/trunk/build/run_tests.py

Author: stefan2
Date: Mon Nov 30 23:56:55 2015
New Revision: 1717355

URL: http://svn.apache.org/viewvc?rev=1717355&view=rev
Log:
Minor tuning of the GLOBAL_SCHEDULER test script option.  This saves
about 5% wallclock time on my workstation.

* build/run_tests.py
  (TestHarness._run_global_sheduler): Cause very long C test suites
                                      to be schedules early on.

Modified:
    subversion/trunk/build/run_tests.py

Modified: subversion/trunk/build/run_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/build/run_tests.py?rev=1717355&r1=1717354&r2=1717355&view=diff
==============================================================================
--- subversion/trunk/build/run_tests.py (original)
+++ subversion/trunk/build/run_tests.py Mon Nov 30 23:56:55 2015
@@ -431,7 +431,7 @@ class TestHarness:
     job_queue = queue.Queue()
     total_count = 0
     scrambled = list(jobs)
-    scrambled.sort(key=lambda x: x.number)
+    scrambled.sort(key=lambda x: str(x.number))
     for job in scrambled:
       total_count += job.test_count()
       job_queue.put(job)