subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1717355 - /subversion/trunk/build/run_tests.py
Date Mon, 30 Nov 2015 23:56:55 GMT
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)



Mime
View raw message