From 0dc42c08ac32590af353ee54d387e06bf6a3e14c Mon Sep 17 00:00:00 2001 From: dbs Date: Wed, 2 Mar 2011 03:51:42 +0000 Subject: [PATCH] Coerce the weird test env for MFHD into working inside buildbot 'use testlib.pm' throws the standard "prove --lib lib -r t" recipe for testing Perl packages out the window, so we have to override the Perl testing class and point to the known location of testlib.pm This may still fail for Evergreen branches prior to rel_2_1, but it's _something_. Throw me a bone, here, will ya? Ultimately, the best thing to do is probably to make MFHD tests conform. git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2188 9efc2488-bf62-4759-914b-345cdb29e865 --- examples/buildbot.cfg | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/buildbot.cfg b/examples/buildbot.cfg index 2961080..24e4a10 100644 --- a/examples/buildbot.cfg +++ b/examples/buildbot.cfg @@ -186,8 +186,13 @@ eg_factory.addStep(shell.Configure()) # compile the code eg_factory.addStep(shell.Compile(command=["make"])) +class PerlModuleTestMFHDMadness(shell.PerlModuleTest): + 'Override PerlModuleTest with nonstandard library location for testlib.pm' + command = ['prove', '--lib', 'lib', '-I', 'lib/OpenILS/Utils/MFHD/test', '-r', 't'] + total = 0 + # run the Perl unit tests -eg_factory.addStep(shell.PerlModuleTest(workdir="build/Open-ILS/src/perlmods")) +eg_factory.addStep(PerlModuleTestMFHDMadness(workdir="build/Open-ILS/src/perlmods")) # report on the Python code eg_factory.addStep(python.PyLint( -- 2.43.2