[pypy-commit] buildbot default: Trying without any testing whatsoever to add a lock for the windows builds.

arigo noreply at buildbot.pypy.org
Tue Jun 5 12:32:06 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r644:fe71e574d072
Date: 2012-06-05 12:31 +0200
http://bitbucket.org/pypy/buildbot/changeset/fe71e574d072/

Log:	Trying without any testing whatsoever to add a lock for the windows
	builds.

diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py
--- a/bot2/pypybuildbot/builds.py
+++ b/bot2/pypybuildbot/builds.py
@@ -19,6 +19,7 @@
 # there are 8 logical CPUs, but only 4 physical ones
 TannitCPU = locks.MasterLock('tannit_cpu', maxCount=6)
 SpeedPythonCPU = locks.MasterLock('speed_python_cpu', maxCount=24)
+WinLockCPU = locks.MasterLock('win_cpu', maxCount=1)
 
 
 class ShellCmd(shell.ShellCommand):
diff --git a/bot2/pypybuildbot/master.py b/bot2/pypybuildbot/master.py
--- a/bot2/pypybuildbot/master.py
+++ b/bot2/pypybuildbot/master.py
@@ -47,6 +47,7 @@
 
 pypybuilds = load('pypybuildbot.builds')
 TannitCPU = pypybuilds.TannitCPU
+WinLockCPU = pypybuilds.WinLockCPU
 
 pypyOwnTestFactory = pypybuilds.Own()
 pypyOwnTestFactoryWin = pypybuilds.Own(platform="win32")
@@ -371,12 +372,14 @@
                    "builddir": APPLVLWIN32,
                    "factory": pypyTranslatedAppLevelTestFactoryWin,
                    "category": "win32"
+                   "locks": [WinLockCPU.access('exclusive')],
                   },
                   {"name" : JITWIN32,
                    "slavenames": ["aurora", "SalsaSalsa"],
                    'builddir' : JITWIN32,
                    'factory' : pypyJITTranslatedTestFactoryWin,
                    'category' : 'win32',
+                   "locks": [WinLockCPU.access('exclusive')],
                    },
                   {"name" : JITWIN64,
                    "slavenames": ["snakepit64"],


More information about the pypy-commit mailing list