'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
# 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(