Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undeclared dependency Dumbbench (0.32) #12

Closed
eserte opened this issue Jul 10, 2018 · 1 comment
Closed

Undeclared dependency Dumbbench (0.32) #12

eserte opened this issue Jul 10, 2018 · 1 comment

Comments

@eserte
Copy link

eserte commented Jul 10, 2018

The test suite fails if Dumbbench.pm is not installed:

Can't locate Dumbbench.pm in @INC (you may need to install the Dumbbench module) (@INC contains: t/lib /home/cpansand/.cpan/build/2018071012/Archive-Tar-Wrapper-0.32-0/blib/lib /home/cpansand/.cpan/build/2018071012/Archive-Tar-Wrapper-0.32-0/blib/arch /usr/perl5.26.1p/lib/site_perl/5.26.1/amd64-freebsd /usr/perl5.26.1p/lib/site_perl/5.26.1 /usr/perl5.26.1p/lib/5.26.1/amd64-freebsd /usr/perl5.26.1p/lib/5.26.1 .) at /usr/perl5.26.1p/lib/5.26.1/parent.pm line 16.
BEGIN failed--compilation aborted at t/lib/ATWDumbbench.pm line 4.
Compilation failed in require at t/008performance.t line 6.
BEGIN failed--compilation aborted at t/008performance.t line 6.
# Looks like your test exited with 2 before it could output anything.
t/008performance.t ........ 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests 
Can't locate Dumbbench.pm in @INC (you may need to install the Dumbbench module) (@INC contains: t/lib /home/cpansand/.cpan/build/2018071012/Archive-Tar-Wrapper-0.32-0/blib/lib /home/cpansand/.cpan/build/2018071012/Archive-Tar-Wrapper-0.32-0/blib/arch /usr/perl5.26.1p/lib/site_perl/5.26.1/amd64-freebsd /usr/perl5.26.1p/lib/site_perl/5.26.1 /usr/perl5.26.1p/lib/5.26.1/amd64-freebsd /usr/perl5.26.1p/lib/5.26.1 .) at /usr/perl5.26.1p/lib/5.26.1/parent.pm line 16.
BEGIN failed--compilation aborted at t/lib/ATWDumbbench.pm line 4.
Compilation failed in require at t/009performance-small.t line 6.
BEGIN failed--compilation aborted at t/009performance-small.t line 6.
# Looks like your test exited with 2 before it could output anything.
t/009performance-small.t .. 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests 

Also it seems that a minimum version of Dumbbench is required. On some of my smokers:

Undefined subroutine &Dumbbench::unscientific_notation called at t/lib/ATWDumbbench.pm line 34.
# Looks like your test exited with 25 before it could output anything.
t/008performance.t ........ 
Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 1/1 subtests 
glasswalk3r pushed a commit that referenced this issue Jul 10, 2018
Skipping bzip2 testing if the program is not available
(#11).
Undeclared dependency of Dumbbench
(#12).
@glasswalk3r
Copy link
Owner

Fixed with commit b0973ec.
Thanks for the fast report @eserte !

netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this issue Aug 21, 2018
0.33 (2018/07/10):
    Skipping bzip2 testing if the program is not available
    (glasswalk3r/archive-tar-wrapper-perl#11).
    Undeclared dependency of Dumbbench
    (glasswalk3r/archive-tar-wrapper-perl#12).

0.32 (2018/07/10):
    Typo fixed by Mohammad S Anwar
    (glasswalk3r/archive-tar-wrapper-perl#10).
    Refactored performance tests, and now they will run as TODO to test the
    hypotesis that there is a better algorithm to write() method.

0.31 (2018/07/03):
    Enabled performance testing to acquire from different setups which scheme is
    faster to remove dots when reading directories.
    Disabled Solaris OS until issues are fixed.
    Fixed bug introduced in Makefile.PL due changes of release 0.30 (thanks to
    David Cantrell <david@cantrell.org.uk>).
    Updated documentation.

0.30 (2018/06):
    Keeping track of changes per request
    glasswalk3r/archive-tar-wrapper-perl#7.
    Fixing proper handling of File::Which when checking on Microsoft Windows.
    Refactored troubleshooting messages on Microsoft Windows.
    Bug fixes provided by Shoichi Kaji (skaji at cpan.org) in PRs
    glasswalk3r/archive-tar-wrapper-perl#9
    and glasswalk3r/archive-tar-wrapper-perl#8

0.29 (2018/06/25):
    Added Microsoft Windows support with the help of Ingram Braun M.A.
    <me@ingram-braun.net>.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants