command = ['prove', '--lib', 'lib', '-I', 'lib/OpenILS/Utils/MFHD/test', '-r', 't']
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'):
+ return false
+ return true
+
# run the Perl unit tests
-eg_factory.addStep(PerlModuleTestMFHDMadness(workdir="build/Open-ILS/src/perlmods"))
+eg_factory.addStep(
+ doStepIf=has_perl_unit_tests,
+ PerlModuleTestMFHDMadness(workdir="build/Open-ILS/src/perlmods")
+)
# report on the Python code
eg_factory.addStep(python.PyLint(