total = 0
def has_perl_unit_tests(step):
- if (step.build.getProperty('branch') -= 'branches/rel_1_6'):
+ if (step.build.getProperty('branch') == 'branches/rel_1_6'):
return false
- elif (step.build.getProperty('branch') -= 'branches/rel_2_0'):
+ elif (step.build.getProperty('branch') == 'branches/rel_2_0'):
return false
return true
# run the Perl unit tests
-eg_factory.addStep(
+eg_factory.addStep(PerlModuleTestMFHDMadness(
doStepIf=has_perl_unit_tests,
- PerlModuleTestMFHDMadness(workdir="build/Open-ILS/src/perlmods")
+ workdir="build/Open-ILS/src/perlmods")
)
# report on the Python code