Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 544380 - dev-perl/JavaScript-Packer-1.6.3 fails tests
Summary: dev-perl/JavaScript-Packer-1.6.3 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: perl-testfailure
  Show dependency tree
 
Reported: 2015-03-24 18:50 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2015-08-09 23:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
files/1.006003/0001-test-fails.patch (0001-test-fails.patch,10.65 KB, patch)
2015-03-24 19:02 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details | Diff
JavaScript-Packer-1.6.3.ebuild (JavaScript-Packer-1.6.3.ebuild,674 bytes, text/plain)
2015-03-24 19:03 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-03-24 18:50:46 UTC
Since 5.17.6: http://matrix.cpantesters.org/?dist=JavaScript-Packer+1.006003 

Possible Patch: https://github.com/nevesenin/javascript-packer-perl/pull/9/files

Related Bug Upstream: https://github.com/nevesenin/javascript-packer-perl/issues/8

---
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00-load.t t/01-interface.t t/02-io.t t/pod.t
make --jobs=4 --load-average=1.0 test TEST_VERBOSE=0
t/00-load.t ....... ok   
# Testing JavaScript::Packer 1.006003, Perl 5.020002, /usr/bin/perl
t/01-interface.t .. ok     
t/02-io.t ......... 1/30 
#   Failed test 'compression level "shrink"'
#   at t/02-io.t line 168.

#   Failed test 'compression level "obfuscate"'
#   at t/02-io.t line 168.

#   Failed test 'compression level "best" whith short javascript'
#   at t/02-io.t line 168.

#   Failed test 'compression level "best" whith long javascript'
#   at t/02-io.t line 168.

#   Failed test 'compression level "shrink" function as argument'
#   at t/02-io.t line 168.

#   Failed test 'compression level "shrink" with qouted args'
#   at t/02-io.t line 168.
t/02-io.t ......... Dubious, test returned 6 (wstat 1536, 0x600)
Failed 6/30 subtests 
# Looks like you failed 6 tests of 30.

---
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-03-24 19:02:32 UTC
Created attachment 399640 [details, diff]
files/1.006003/0001-test-fails.patch
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-03-24 19:03:23 UTC
Created attachment 399642 [details]
JavaScript-Packer-1.6.3.ebuild

- Patch Applied by ebuild
- Bad POD test excluded while we're there.
Comment 3 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-03-24 19:04:52 UTC
( Bump probably not needed as this patch doesn't appear to have much benefit for existing users other than guaranteeing certain calls return sorted results )
Comment 4 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2015-08-09 23:20:33 UTC
I've just dropped old version.