[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
LSB testing issue with Test::Harness
Hello all,
We've run into an issue with LSB testing of perl on a distribution that
has chosen to replace Test::Harness from the perl tarball (2.64 in
5.10.0) with 3.12 from CPAN, with is apparently a redesign and does not
include Test::Harness::Straps. Since we use the perl.org test suite from
the perl tarball, the tests fail early on not finding Straps and we end
up with no test result:
[root@testbox perl]# ./run_tests
System perl version is: 5.10.0
Creating Unicode Character Database symlink...
Creating symlink to system blib.pm
Creating symlink to system constant.pm
Creating symlink to system strict.pm
Can't locate Test/Harness/Straps.pm in @INC (@INC contains:
/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.10.0
/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
/usr/local/lib/perl5/site_perl /usr/local/lib64/perl5/site_perl .) at
Harness.pm line 6.
BEGIN failed--compilation aborted at Harness.pm line 6.
Compilation failed in require at harness line 12.
BEGIN failed--compilation aborted at harness line 12.
mv: cannot stat `5.10.0/t/tet_xres': No such file or directory
Journal file is results/0004e/journal
Test::Harness::Straps is a required LSB module, part of the blessed list that came out of conversations on this list a while back.
So, the question(s) becomes:
Should we not have included Test::Harness::Straps as a required module?
Should we (LSB) include a private, possibly renamed Test::Harness in the test suite so we can depend on the correct version to be able to at least run the tests enough to get results?
Our bug: http://bugs.linuxbase.org/show_bug.cgi?id=2461
Thanks!
--
Stew Benedict
Linux Foundation
- Follow-Ups from:
-
demerphq <demerphq@gmail.com>
Andy Armstrong <andy@hexten.net>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]