[Opensrf-commits] r2198 - trunk/examples (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Mar 2 16:56:19 EST 2011
Author: dbs
Date: 2011-03-02 16:56:14 -0500 (Wed, 02 Mar 2011)
New Revision: 2198
Modified:
trunk/examples/buildbot.cfg
Log:
No mas. dir existence checks were checking buildmaster, not slave
Modified: trunk/examples/buildbot.cfg
===================================================================
--- trunk/examples/buildbot.cfg 2011-03-02 18:38:38 UTC (rev 2197)
+++ trunk/examples/buildbot.cfg 2011-03-02 21:56:14 UTC (rev 2198)
@@ -1,6 +1,5 @@
# -*- python -*-
# vim: set syntax=python:et:ts=4:sw=4:
-import os.path
# This is a sample buildmaster config file. It must be installed as
# 'master.cfg' in your buildmaster's base directory.
@@ -194,10 +193,12 @@
total = 0
def has_perl_unit_tests(step):
- 'If there is a /lib/ sudir in the Perl dir, there are tests'
- if (os.path.exists(os.path.join(perldir, 'lib'))):
- return True
- return False
+ 'Only run Perl tests if there are tests'
+ if (step.build.getProperty('branch') == 'branches/rel_1_6_1'):
+ return False
+ elif (step.build.getProperty('branch') == 'branches/rel_2_0'):
+ return False
+ return True
# run the Perl unit tests
eg_factory.addStep(PerlModuleTestMFHDMadness(
More information about the opensrf-commits
mailing list