Rather than specific branches, test for the existence of the directory
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 2 Mar 2011 14:12:16 +0000 (14:12 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 2 Mar 2011 14:12:16 +0000 (14:12 +0000)
Yes, more buildbot noise. Maybe the poor buildbot needs its own repository
until things settle down. heh

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2192 9efc2488-bf62-4759-914b-345cdb29e865

examples/buildbot.cfg

index 8d6b14f..48cc067 100644 (file)
@@ -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,9 +193,7 @@ class PerlModuleTestMFHDMadness(shell.PerlModuleTest):
     total = 0
 
 def has_perl_unit_tests(step):
-    if (step.build.getProperty('branch') == 'branches/rel_1_6'):
-        return False
-    elif (step.build.getProperty('branch') == 'branches/rel_2_0'):
+    if (os.path.exists(os.path.join('build/Open-ILS/src/perlmods', 'lib/OpenILS/Utils/MFHD/test'))):
         return False
     return True