Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 544380

Summary: dev-perl/JavaScript-Packer-1.6.3 fails tests
Product: Gentoo Linux Reporter: Kent Fredric (IRC: kent\n) (RETIRED) <kentnl>
Component: [OLD] DevelopmentAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 300119    
Attachments: files/1.006003/0001-test-fails.patch
JavaScript-Packer-1.6.3.ebuild

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.