[Buildbot-commits] buildbot/buildbot/scripts runner.py,1.5,1.6
Brian Warner
warner at users.sourceforge.net
Thu Oct 14 16:47:35 UTC 2004
Update of /cvsroot/buildbot/buildbot/buildbot/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3733/buildbot/scripts
Modified Files:
runner.py
Log Message:
* buildbot/master.py (BuildMaster.startService): don't register a
SIGHUP handler if the signal module has no SIGHUP attribute.
Apparently win32 does this.
* buildbot/scripts/runner.py (start): add --reactor=win32 on win32
* buildbot/test/test_web.py (WebTest.test_webPathname): skip the
test if the reactor can't offer UNIX sockets
Index: runner.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/scripts/runner.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- runner.py 12 Oct 2004 17:49:16 -0000 1.5
+++ runner.py 14 Oct 2004 16:47:33 -0000 1.6
@@ -81,7 +81,10 @@
basedir = config['basedir']
quiet = config['quiet']
os.chdir(basedir)
- cmd = "twistd --no_save -f buildbot.tap"
+ reactor_arg = ""
+ if sys.platform == "win32":
+ reactor_arg = "--reactor=win32"
+ cmd = "twistd %s --no_save -f buildbot.tap" % reactor_arg
if not quiet: print cmd
os.system(cmd)
sys.exit(0)
More information about the Commits
mailing list