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

Bug 615734

Summary: dev-perl/Devel-NYTProf fails tests without '.' in @INC (Failed test 'test01.rdt)
Product: Gentoo Linux Reporter: Kent Fredric (IRC: kent\n) (RETIRED) <kentnl>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: minor Keywords: TESTFAILURE
Priority: Low    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/timbunce/devel-nytprof/issues/108
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 612408    

Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-04-16 06:55:53 UTC
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
===(       1;0  1/2  0/?  0/? )=========================================# Testing Devel::NYTProf 6.04 started at Sun Apr 16 06:45:40 2017
# Compression: default level is 6, zlib version 1.2.11
# --- Perl 5.025011 Config on x86_64-linux:
#       d_gettimeod: define
#       d_sysconf: define
t/00-load.t ............ ok
t/22-readstream.t ...... ok
t/30-util.t ............ ok
t/31-env.t ............. ok
t/10-run.t ............. ok
t/40-savesrc.t ......... ok
t/42-global.t .......... ok
t/50-errno.t ........... ok
t/44-model.t ........... ok
t/80-version.t ......... ok
t/60-forkdepth.t ....... ok
===(     835;1   1/57    1/129  0/? )===================================
#   Failed test 'test01.rdt match generated profile data for blocks=1 calls=1 compress=0 leave=1 savesrc=1 slowops=2 start=init use_db_sub=1'
#   at t/lib/NYTProfTest.pm line 452.
#     Structures begin differing at:
#          $got->[22] = 'fid_fileinfo   1       [ /var/tmp/portage/dev-perl/Devel-NYTProf-6.40.0/work/Devel-NYTProf-6.04/t/test01.p   1 2 0 0 ]'
#     $expected->[22] = 'fid_fileinfo   1       [ test01.p   1 2 0 0 ]'
--- test01.rdt  2013-03-02 22:17:39.000000000 +0000
+++ test01.rdt_new      2017-04-16 06:45:41.609762726 +0000
@@ -20,7 +20,7 @@
 fid_block_time 1       16      [ 0 1 ]
 fid_block_time 1       17      [ 0 1 ]
 fid_block_time 1       18      [ 0 1 ]
-fid_fileinfo   1       [ test01.p   1 2 0 0 ]
+fid_fileinfo   1       [ /var/tmp/portage/dev-perl/Devel-NYTProf-6.40.0/work/Devel-NYTProf-6.04/t/test01.p   1 2 0 0 ]
 fid_fileinfo   1       sub     main::BEGIN     0-0
 fid_fileinfo   1       sub     main::CORE:print        0-0
 fid_fileinfo   1       sub     main::RUNTIME   1-1
===(     846;1   8/57    4/129    1/145 )===============================
#   Failed test 'test02.rdt match generated profile data for blocks=1 calls=2 compress=1 leave=1 savesrc=1 slowops=2 start=init use_db_sub=0'
#   at t/lib/NYTProfTest.pm line 452.
#     Structures begin differing at:
#          $got->[23] = 'fid_fileinfo   1       [ /var/tmp/portage/dev-perl/Devel-NYTProf-6.40.0/work/Devel-NYTProf-6.04/t/test02.p   1 2 0 0 ]'
#     $expected->[23] = 'fid_fileinfo   1       [ test02.p   1 2 0 0 ]'
--- test02.rdt  2013-03-02 22:17:37.000000000 +0000
+++ test02.rdt_new      2017-04-16 06:45:41.659763498 +0000
Comment 1 Larry the Git Cow gentoo-dev 2017-10-07 19:13:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04fb4184cf25f90f8390454c48ff3cdcd9d71881

commit 04fb4184cf25f90f8390454c48ff3cdcd9d71881
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2017-10-07 19:13:18 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2017-10-07 19:13:46 +0000

    dev-perl/Devel-NYTProf: Fix test failure without '.' in @INC bug #615734
    
    Closes: https://bugs.gentoo.org/615734
    Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-perl/Devel-NYTProf/Devel-NYTProf-6.40.0.ebuild |  4 +--
 .../files/Devel-NYTProf-6.40.0-perl526.patch       | 41 ++++++++++++++++++++++
 2 files changed, 43 insertions(+), 2 deletions(-)