[Opensrf-commits] r2192 - trunk/examples (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Mar 2 09:12:17 EST 2011


Author: dbs
Date: 2011-03-02 09:12:16 -0500 (Wed, 02 Mar 2011)
New Revision: 2192

Modified:
   trunk/examples/buildbot.cfg
Log:
Rather than specific branches, test for the existence of the directory

Yes, more buildbot noise. Maybe the poor buildbot needs its own repository
until things settle down. heh


Modified: trunk/examples/buildbot.cfg
===================================================================
--- trunk/examples/buildbot.cfg	2011-03-02 05:21:58 UTC (rev 2191)
+++ trunk/examples/buildbot.cfg	2011-03-02 14:12:16 UTC (rev 2192)
@@ -1,5 +1,6 @@
 # -*- 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.
@@ -192,10 +193,8 @@
     total = 0
 
 def has_perl_unit_tests(step):
-    if (step.build.getProperty('branch') == 'branches/rel_1_6'):
+    if (os.path.exists(os.path.join('build/Open-ILS/src/perlmods', 'lib/OpenILS/Utils/MFHD/test'))):
         return False
-    elif (step.build.getProperty('branch') == 'branches/rel_2_0'):
-        return False
     return True
 
 # run the Perl unit tests



More information about the opensrf-commits mailing list