[Buildbot-commits] buildbot ChangeLog, 1.753, 1.754 setup.py, 1.39, 1.40
Brian Warner
warner at users.sourceforge.net
Mon Sep 25 08:12:24 UTC 2006
Update of /cvsroot/buildbot/buildbot
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv28932
Modified Files:
ChangeLog setup.py
Log Message:
[project @ add the extra stuff from buildbot/test/* so unit tests will run on installed copies, not just in the source tree]
Original author: warner at lothar.com
Date: 2006-09-25 08:11:30
Index: ChangeLog
===================================================================
RCS file: /cvsroot/buildbot/buildbot/ChangeLog,v
retrieving revision 1.753
retrieving revision 1.754
diff -u -d -r1.753 -r1.754
--- ChangeLog 25 Sep 2006 08:12:16 -0000 1.753
+++ ChangeLog 25 Sep 2006 08:12:22 -0000 1.754
@@ -2,6 +2,9 @@
* setup.py: the new buildbot.steps module wasn't being installed.
Thanks to Jose Dapena Paz for the catch, fixes SF#1560631.
+ (testmsgs): add the extra stuff from buildbot/test/* so you can
+ run unit tests on an installed copy of buildbot, not just from
+ the source tree.
* contrib/svn_buildbot.py (ChangeSender.getChanges): the first *4*
columns of 'svnlook changed' output contain status information, so
Index: setup.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/setup.py,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- setup.py 25 Sep 2006 08:12:16 -0000 1.39
+++ setup.py 25 Sep 2006 08:12:22 -0000 1.40
@@ -1,6 +1,6 @@
#! /usr/bin/python
-import sys
+import sys, os
from distutils.core import setup
from buildbot import version
@@ -37,6 +37,12 @@
scripts.append("contrib/windows/buildbot.bat")
scripts.append("contrib/windows/buildbot_service.py")
+testmsgs = []
+for f in os.listdir("buildbot/test/mail"):
+ if f.endswith("~"):
+ continue
+ testmsgs.append("buildbot/test/mail/%s" % f)
+
setup(name="buildbot",
version=version,
description="BuildBot build automation system",
@@ -65,11 +71,14 @@
"buildbot.slave",
"buildbot.scripts",
"buildbot.test",
+ "buildbot.test.subdir",
],
data_files=[("buildbot", ["buildbot/buildbot.png"]),
("buildbot/clients", ["buildbot/clients/debug.glade"]),
("buildbot/status", ["buildbot/status/classic.css"]),
- ("buildbot/scripts", ["buildbot/scripts/sample.cfg"]),],
+ ("buildbot/scripts", ["buildbot/scripts/sample.cfg"]),
+ ("buildbot/test/mail", testmsgs),
+ ],
scripts = scripts,
cmdclass={'install_data': install_data_twisted},
)
More information about the Commits
mailing list