Subject: | Test::Harness::Results not loaded, causes errors on OpenBSD (maybe others) |
When trying to smoke Parrot on OpenBSD, I receive the following error message:
parrot:parrot-0.6.3 {47} perl t/harness --html --gc-debug --running-make-test
- t/configure/001-options.t
Can't locate object method "new" via package "Test::Harness::Results" (perhaps you forgot to
load "Test::Harness::Results"?) at /usr/local/libdata/perl5/site_perl/Test/TAP/Model.pm line
174, <FILE> line 2.
Of course, there is no explicit "use Test::Harness::Results;" line in Test::TAP::Model. This
doesn't seem to matter on other platforms, but it falls over on perl 5.8.8 as shipped on
OpenBSD. One could argue that it's a good design principle to explicitly state one's
dependencies, as well. Simply adding the use statement fixes the problem.