chrisburel / perlqt4

Automatically exported from code.google.com/p/perlqt4
Other
0 stars 0 forks source link

Test failures on Perl 5.18 #54

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build perlqt and run the test suite

Test suite output (skipping tests that need GUI):

$ export 
PERL5LIB=/builddir/build/BUILD/perlqt-4.10.5/build/blib/lib:/builddir/build/BUIL
D/perlqt-4.10.5/build/blib/arch
$ 
PERL5LIB=/builddir/build/BUILD/perlqt-4.10.5/build/blib/lib:/builddir/build/BUIL
D/perlqt-4.10.5/build/blib/arch
$ make test
      Start  1: perlqt_qtcore4_load
 1/26 Test  #1: perlqt_qtcore4_load ..............   Passed    0.20 sec
      Start  2: perlqt_qabstractitemmodel
 2/26 Test  #2: perlqt_qabstractitemmodel ........***Failed    0.85 sec
      Start  3: perlqt_qt3support4_load
 3/26 Test  #3: perlqt_qt3support4_load ..........   Passed    0.23 sec
      Start  4: perlqt_qtdbus4_load
 4/26 Test  #4: perlqt_qtdbus4_load ..............   Passed    0.17 sec
      Start  5: perlqt_qtdeclarative4_load
 5/26 Test  #5: perlqt_qtdeclarative4_load .......   Passed    0.16 sec
      Start  6: perlqt_qtgui4_load
 6/26 Test  #6: perlqt_qtgui4_load ...............   Passed    0.20 sec
      Start  7: perlqt_qpolygon
 7/26 Test  #7: perlqt_qpolygon ..................   Passed    0.45 sec
      Start  8: perlqt_qpolygonf
 8/26 Test  #8: perlqt_qpolygonf .................   Passed    0.45 sec
      Start  9: perlqt_qstringlistmodel
 9/26 Test  #9: perlqt_qstringlistmodel ..........***Failed    0.22 sec
      Start 10: perlqt_qthelp4_load
10/26 Test #10: perlqt_qthelp4_load ..............   Passed    0.17 sec
      Start 11: perlqt_qtmultimedia4_load
11/26 Test #11: perlqt_qtmultimedia4_load ........   Passed    0.17 sec
      Start 12: perlqt_qtnetwork4_load
12/26 Test #12: perlqt_qtnetwork4_load ...........   Passed    0.17 sec
      Start 13: perlqt_qtopengl4_load
13/26 Test #13: perlqt_qtopengl4_load ............   Passed    0.17 sec
      Start 14: perlqt_qtscript4_load
14/26 Test #14: perlqt_qtscript4_load ............   Passed    0.17 sec
      Start 15: perlqt_qtsql4_load
15/26 Test #15: perlqt_qtsql4_load ...............   Passed    0.18 sec
      Start 16: perlqt_qtsvg4_load
16/26 Test #16: perlqt_qtsvg4_load ...............   Passed    0.17 sec
      Start 17: perlqt_qttest4_load
17/26 Test #17: perlqt_qttest4_load ..............   Passed    0.17 sec
      Start 18: perlqt_qtesteventlist
18/26 Test #18: perlqt_qtesteventlist ............   Passed    0.21 sec
      Start 19: perlqt_qtuitools4_load
19/26 Test #19: perlqt_qtuitools4_load ...........   Passed    0.18 sec
      Start 20: perlqt_qtwebkit4_load
20/26 Test #20: perlqt_qtwebkit4_load ............   Passed    0.18 sec
      Start 21: perlqt_qtxml4_load
21/26 Test #21: perlqt_qtxml4_load ...............   Passed    0.18 sec
      Start 22: perlqt_qtxmlpatterns4_load
22/26 Test #22: perlqt_qtxmlpatterns4_load .......   Passed    0.18 sec
      Start 23: perlqt_phonon_load
23/26 Test #23: perlqt_phonon_load ...............   Passed    0.17 sec
      Start 24: perlqt_qsci_load
24/26 Test #24: perlqt_qsci_load .................   Passed    0.18 sec
      Start 25: perlqt_qwt_load
25/26 Test #25: perlqt_qwt_load ..................   Passed    0.19 sec
      Start 26: perlqt_qimageblitz_load
26/26 Test #26: perlqt_qimageblitz_load ..........   Passed    0.17 sec
92% tests passed, 2 tests failed out of 26
Total Test time (real) =   5.95 sec
The following tests FAILED:
      2 - perlqt_qabstractitemmodel (Failed)
      9 - perlqt_qstringlistmodel (Failed)
Errors while running CTest

What version of PerlQt4 are you using? What version of Qt are you using? On
what operating system?
perlqt4 4.10.5
qt 4.8.5
perl 5.18.0
Linux - Fedora Rawhide (in preparation for Fedora 20)

Can I provide any further details to help resolve this?

Original issue reported on code.google.com by mcivta.a...@googlemail.com on 6 Aug 2013 at 11:52

GoogleCodeExporter commented 9 years ago
Hi,
Can you provide the output of
ctest -R 'perlqt_qstringlistmodel|perlqt_qabstractitemmodel' --verbose

Original comment by chrisbu...@gmail.com on 6 Aug 2013 at 4:59

GoogleCodeExporter commented 9 years ago
Hi, here's the output as requested:

$ ctest -R 'perlqt_qstringlistmodel|perlqt_qabstractitemmodel' --verbose
UpdateCTestConfiguration  from 
:/builddir/build/BUILD/perlqt-4.10.5/build/DartConfiguration.tcl
UpdateCTestConfiguration  from 
:/builddir/build/BUILD/perlqt-4.10.5/build/DartConfiguration.tcl
Test project /builddir/build/BUILD/perlqt-4.10.5/build
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
test 2
    Start 2: perlqt_qabstractitemmodel
2: Test command: /usr/bin/prove 
"/builddir/build/BUILD/perlqt-4.10.5/qtcore/t/qabstractitemmodel.t"
2: Test timeout computed to be: 9.99988e+06
2: defined(@array) is deprecated at 
/builddir/build/BUILD/perlqt-4.10.5/build/qtcore/t/../../blib/lib/QtCore4.pm 
line 1420.
2:  (Maybe you should just omit the defined()?)
2: defined(@array) is deprecated at 
/builddir/build/BUILD/perlqt-4.10.5/build/qtcore/t/../../blib/lib/QtCore4.pm 
line 1421.
2:  (Maybe you should just omit the defined()?)
2: defined(@array) is deprecated at 
/builddir/build/BUILD/perlqt-4.10.5/build/qtcore/t/../../blib/lib/QtCore4.pm 
line 1422.
2:  (Maybe you should just omit the defined()?)
2: /builddir/build/BUILD/perlqt-4.10.5/qtcore/t/qabstractitemmodel.t .. 
2: Failed 3/15 subtests 
2: 
2: Test Summary Report
2: -------------------
2: /builddir/build/BUILD/perlqt-4.10.5/qtcore/t/qabstractitemmodel.t (Wstat: 
139 Tests: 12 Failed: 0)
2:   Non-zero wait status: 139
2:   Parse errors: Bad plan.  You planned 15 tests but ran 12.
2: Files=1, Tests=12,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.06 cusr  0.01 
csys =  0.09 CPU)
2: Result: FAIL
1/2 Test #2: perlqt_qabstractitemmodel ........***Failed    0.18 sec
test 9
    Start 9: perlqt_qstringlistmodel
9: Test command: /usr/bin/prove 
"/builddir/build/BUILD/perlqt-4.10.5/qtgui/t/qstringlistmodel.t"
9: Test timeout computed to be: 9.99988e+06
9: defined(@array) is deprecated at 
/builddir/build/BUILD/perlqt-4.10.5/build/qtgui/t/../../blib/lib/QtCore4.pm 
line 1420.
9:  (Maybe you should just omit the defined()?)
9: defined(@array) is deprecated at 
/builddir/build/BUILD/perlqt-4.10.5/build/qtgui/t/../../blib/lib/QtCore4.pm 
line 1421.
9:  (Maybe you should just omit the defined()?)
9: defined(@array) is deprecated at 
/builddir/build/BUILD/perlqt-4.10.5/build/qtgui/t/../../blib/lib/QtCore4.pm 
line 1422.
9:  (Maybe you should just omit the defined()?)
9: Subroutine Qt::GlobalSpace::_UTOLOAD redefined at 
/builddir/build/BUILD/perlqt-4.10.5/build/qtgui/t/../../blib/lib/QtCore4.pm 
line 1304.
9: Subroutine  Qt::GlobalSpace::_UTOLOAD redefined at 
/builddir/build/BUILD/perlqt-4.10.5/build/qtgui/t/../../blib/lib/QtCore4.pm 
line 1304.
9: Subroutine Qt::Widget::_UTOLOAD redefined at 
/builddir/build/BUILD/perlqt-4.10.5/build/qtgui/t/../../blib/lib/QtCore4.pm 
line 1304.
9: Subroutine  Qt::Widget::_UTOLOAD redefined at 
/builddir/build/BUILD/perlqt-4.10.5/build/qtgui/t/../../blib/lib/QtCore4.pm 
line 1304.
9: /builddir/build/BUILD/perlqt-4.10.5/qtgui/t/qstringlistmodel.t .. 
9: Failed 3/4 subtests 
9: 
9: Test Summary Report
9: -------------------
9: /builddir/build/BUILD/perlqt-4.10.5/qtgui/t/qstringlistmodel.t (Wstat: 139 
Tests: 1 Failed: 0)
9:   Non-zero wait status: 139
9:   Parse errors: Bad plan.  You planned 4 tests but ran 1.
9: Files=1, Tests=1,  1 wallclock secs ( 0.02 usr  0.00 sys +  0.09 cusr  0.00 
csys =  0.11 CPU)
9: Result: FAIL
2/2 Test #9: perlqt_qstringlistmodel ..........***Failed    0.20 sec
0% tests passed, 2 tests failed out of 2
Total Test time (real) =   0.39 sec
The following tests FAILED:
      2 - perlqt_qabstractitemmodel (Failed)
      9 - perlqt_qstringlistmodel (Failed)
Errors while running CTest

Original comment by mcivta.a...@googlemail.com on 7 Aug 2013 at 2:58

GoogleCodeExporter commented 9 years ago
Hi,
I've pushed some changes to git://anongit.kde.org/perlqt.  There's one gui test 
that still isn't working, but that's less of a concern because the gui tests 
are somewhat finicky anyway.  Can you grab this code and let me know if it is 
working for you?

Original comment by chrisbu...@gmail.com on 23 Aug 2013 at 10:01

GoogleCodeExporter commented 9 years ago
Looks good to me after some cursory testing. Thanks a lot!

Original comment by mcivta.a...@googlemail.com on 1 Sep 2013 at 10:52