From 020c6859acdbafa46cdbaec140a0ea9fbf6eda51 Mon Sep 17 00:00:00 2001 From: dbs Date: Wed, 2 Mar 2011 14:12:16 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2192 9efc2488-bf62-4759-914b-345cdb29e865 --- examples/buildbot.cfg | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/buildbot.cfg b/examples/buildbot.cfg index 8d6b14f..48cc067 100644 --- a/examples/buildbot.cfg +++ b/examples/buildbot.cfg @@ -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 -- 2.43.2