Browse Source

Let's use all procs on jenkins

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Pierre-Yves Chibon 5 years ago
parent
commit
bc206356e8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      runtests.py

+ 2 - 0
runtests.py

@@ -28,6 +28,8 @@ PRINTLOCK = None
 RUNNING = []
 FAILED = []
 NUMPROCS = multiprocessing.cpu_count() - 1
+if os.environ.get('BUILD_ID'):
+    NUMPROCS = multiprocessing.cpu_count()
 
 
 def setup_parser():