[bindings] [Bug 380965] New: perlqt-4.14.3 tests fail with Perl 5.26.0

Petr Pisar <[email protected]>
Newsgroups gmane.comp.kde.devel.bindings
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=380965

            Bug ID: 380965
           Summary: perlqt-4.14.3 tests fail with Perl 5.26.0
           Product: bindings
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 105983
  --> https://bugs.kde.org/attachment.cgi?id=105983&action=edit
Fix adding "." to @INC where needed.

Perl 5.26.0 removed "." from @INC search module path list and thus some
perlqt-4.14.3 tests fail now like this:

14/42 Testing: perlqt_itemviewspixelator
14/42 Test: perlqt_itemviewspixelator
Command: "/usr/bin/cmake" "-E" "chdir"
"/home/test/fedora/perl-Qt/perlqt-4.14.3/qtgui/examples/itemviews/pixelator"
"prove" "/home/test/fedora/perl-Qt/perlqt-4.14.3/qtgui/t/itemviewspixelator.t"
Directory: /home/test/fedora/perl-Qt/perlqt-4.14.3/build/qtgui/t
"perlqt_itemviewspixelator" start time: Jun 08 10:06 CEST
Output:
----------------------------------------------------------
Can't locate MainWindow.pm in @INC (you may need to install the MainWindow
module) (@INC contains: /home/test/fedora/perl-Qt/perlqt-4.14.3/build/blib/lib
/home/test/fedora/perl-Qt/perlqt-4.14.3/build/blib/arch /usr/local/lib64/perl5
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at
/home/test/fedora/perl-Qt/perlqt-4.14.3/qtgui/t/itemviewspixelator.t line 11.
BEGIN failed--compilation aborted at
/home/test/fedora/perl-Qt/perlqt-4.14.3/qtgui/t/itemviewspixelator.t line 11.
/home/test/fedora/perl-Qt/perlqt-4.14.3/qtgui/t/itemviewspixelator.t .. 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 

A fix is attached.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.