Closed shishini closed 6 years ago
Can you tell me your Linux distribution (including distribution version) and maybe the desktop system or window manager you're using (probably it's KDE, but the diagnostics section in the test suite says "maybe")?
yes its kde, i am using kubuntu 14.04
~$ uname -a Linux 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:08:14 UTC 2014 i686 i686 i686 GNU/Linux
Thanks.
I see two errors: in t/errordialog.t and in t/unicode.t. Actually I could reproduce the first error running the test suite over a remote X11 connection. My suspicion is that the dialog does not materialize quick enough here, and that the test should wait a little longer. For the 2nd test I have no idea, but timing problems are also possible here.
There's also a fix for the unicode.t problem (commit fbc5f370ceec00cad9f83c68f2e244b5e66c696a). Can you confirm that the latest Tk from github fixes your problems?
sorry for the late reply i just cloned this repo few minutes ago run the following command
perl Makefile.PL make make test
and here is the result from make test
laptop:~/dev/perl/perl-tk$ make test
cd pTk && make DEFINE="" LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-O2" PREFIX="/home/ali/perl5/perlbrew/perls/perl-5.18.2-threaded" PASTHRU_DEFINE="" PASTHRU_INC=""
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/pTk'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/pTk'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/pTk'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/pTk'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/pod'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/pod'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/demos'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/demos'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/Xlib'
make[2]: Entering directory '/home/ali/dev/perl/perl-tk/Xlib/X'
make[2]: Leaving directory '/home/ali/dev/perl/perl-tk/Xlib/X'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/Xlib'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/WinPhoto'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/WinPhoto'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/Tixish'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/Tixish'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/TixPixmap'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/TixPixmap'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/TixGrid'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/TixGrid'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/TextList'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/TextList'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/Text'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/Text'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/TList'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/TList'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/Scrollbar'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/Scrollbar'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/Scale'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/Scale'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/PNG'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/PNG'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/NBFrame'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/NBFrame'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/Mwm'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/Mwm'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/Menubutton'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/Menubutton'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/Listbox'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/Listbox'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/JPEG'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/JPEG'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/InputO'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/InputO'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/IO'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/IO'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/HList'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/HList'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/Event'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/Event'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/Entry'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/Entry'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/DragDrop'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/DragDrop'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/Compound'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/Compound'
make[1]: Entering directory '/home/ali/dev/perl/perl-tk/Canvas'
make[1]: Leaving directory '/home/ali/dev/perl/perl-tk/Canvas'
/home/ali/perl5/perlbrew/perls/perl-5.18.2-threaded/bin/perl "-It" "-MTkTest" "-e" "checked_test_harness('./xt', 0, 'blib/lib', 'blib/arch')" t/00wmcheck.t t/JP.t t/KR.t t/Require.t t/Tkxs.t t/Trace.t t/X.t t/adjuster.t t/after.t t/async.t t/autoload.t t/balloon.t t/bind.t t/browseentry-grabtest.t t/browseentry-subclassing.t t/browseentry.t t/browseentry2.t t/button-tcl.t t/button.t t/canvas-grid.t t/canvas.t t/canvas2.t t/coloreditor.t t/create.t t/cursor.t t/dash.t t/dialogbox.t t/dirtree.t t/entry.t t/errordialog.t t/eventGenerate.t t/exefiles.t t/fbox.t t/fileevent.t t/fileevent2.t t/fileselect.t t/font.t t/fork.t t/geomgr.t t/iso8859-1.t t/itemstyle.t t/leak.t t/list.t t/listbox.t t/listvar.t t/magic.t t/mega.t t/msgbox.t t/mwm.t t/objglue.t t/optmenu.t t/photo.t t/pixmap.t t/progbar.t t/property.t t/regexp.t t/rotext.t t/slaves.t t/sv.t t/table.t t/text.t t/text2.t t/textundo.t t/trace1.t t/unicode.t t/widget.t t/wm-tcl.t t/wm-time.t t/wm.t t/zzHList.t t/zzPhoto.t t/zzScrolled.t t/zzText.t t/zzTixGrid.t
t/00wmcheck.t ................ QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
t/00wmcheck.t ................ 1/1 #
# Tk platform: unix
# server info: X11R0 The X.Org Foundation 11600000
# window manager: KWin
# version: 4.11.12 (maybe)
# XFT: yes
t/00wmcheck.t ................ ok
t/adjuster.t ................. ok
t/after.t .................... ok
t/async.t .................... ok
t/autoload.t ................. ok
t/balloon.t .................. ok
t/bind.t ..................... ok
t/browseentry-grabtest.t ..... ok
t/browseentry-subclassing.t .. ok
t/browseentry.t .............. 8/22 # Ignore grab problem: grab failed: window not viewable at /home/ali/dev/perl/perl-tk/blib/lib/Tk/Submethods.pm line 19.
t/browseentry.t .............. ok
t/browseentry2.t ............. ok
t/button-tcl.t ............... ok
t/button.t ................... ok
t/canvas-grid.t .............. ok
t/canvas.t ................... ok
t/canvas2.t .................. ok
t/coloreditor.t .............. ok
t/create.t ................... ok
t/cursor.t ................... ok
t/dash.t ..................... ok
t/dialogbox.t ................ ok
t/dirtree.t .................. ok
t/entry.t .................... QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
t/entry.t .................... 189/351 QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
t/entry.t .................... ok
t/errordialog.t .............. 1/5 XS_Tk__Callback_Call error:Intentional error.
t/errordialog.t .............. 2/5 XS_Tk__Callback_Call error:Intentional error.
t/errordialog.t .............. ok
t/eventGenerate.t ............ ok
t/exefiles.t ................. ok
t/fbox.t ..................... ok
t/fileevent.t ................ ok
t/fileevent2.t ............... ok
t/fileselect.t ............... ok
t/font.t ..................... 1/34 Font Courier -12 still in cache.
t/font.t ..................... ok
t/fork.t ..................... ok
t/geomgr.t ................... ok
t/iso8859-1.t ................ ok
t/itemstyle.t ................ ok
t/JP.t ....................... ok
t/KR.t ....................... ok
t/leak.t ..................... skipped: need Devel::Leak
t/list.t ..................... ok
t/listbox.t .................. 1/537 QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
t/listbox.t .................. 320/537
# Failed test at t/listbox.t line 1312.
# 'y 0 0'
# doesn't match '(?^:^y 0 0\.\d+)'
# Failed test at t/listbox.t line 1320.
# 'y 0 0'
# doesn't match '(?^:^y 0 0\.\d+)'
t/listbox.t .................. 387/537
# Failed test at t/listbox.t line 1482.
# 'y 0 0'
# doesn't match '(?^:y 0 0\.\d+)'
# Failed test at t/listbox.t line 1490.
# 'y 0 0'
# doesn't match '(?^:^y 0 0\.\d+$)'
t/listbox.t .................. 498/537 # Looks like you failed 4 tests of 537.
t/listbox.t .................. Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/537 subtests
(less 81 skipped subtests: 452 okay)
(2 TODO tests unexpectedly succeeded)
t/listvar.t .................. ok
t/magic.t .................... ok
t/mega.t ..................... ok
t/msgbox.t ................... ok
t/mwm.t ...................... ok
t/objglue.t .................. ok
t/optmenu.t .................. ok
t/photo.t .................... ok
t/pixmap.t ................... ok
t/progbar.t .................. QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
t/progbar.t .................. ok
t/property.t ................. ok
t/regexp.t ................... ok
t/Require.t .................. ok
t/rotext.t ................... ok
t/slaves.t ................... ok
t/sv.t ....................... ok
t/table.t .................... ok
t/text.t ..................... 279/415 Stack moved 9c747d0 => 9c747d4
t/text.t ..................... ok
t/text2.t .................... 1/11 untie attempted while 3 inner references still exist at t/text2.t line 59.
untie attempted while 10 inner references still exist at t/text2.t line 70.
t/text2.t .................... ok
t/textundo.t ................. ok
t/Tkxs.t ..................... ok
t/Trace.t .................... ok
t/trace1.t ................... ok
t/unicode.t .................. ok
t/widget.t ................... ok
t/wm-tcl.t ................... QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
t/wm-tcl.t ................... ok
t/wm-time.t .................. QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
# Start update 2
# . update 0.614 2
# .label update 0.654 2
t/wm-time.t .................. ok
t/wm.t ....................... ok
t/X.t ........................ ok
t/zzHList.t .................. ok
t/zzPhoto.t .................. ok
t/zzScrolled.t ............... ok
t/zzText.t ................... ok
t/zzTixGrid.t ................ ok
Test Summary Report
-------------------
t/canvas.t (Wstat: 0 Tests: 166 Failed: 0)
TODO passed: 124
t/listbox.t (Wstat: 1024 Tests: 537 Failed: 4)
Failed tests: 356-357, 392-393
TODO passed: 328, 502
Non-zero exit status: 4
t/text.t (Wstat: 0 Tests: 415 Failed: 0)
TODO passed: 121
t/wm-tcl.t (Wstat: 0 Tests: 315 Failed: 0)
TODO passed: 64, 86-87, 154-157, 160-161, 164-165, 173-178
181-182, 220, 225, 227, 232, 235-236, 242
264-269, 275-276, 280-283, 300
t/wm-time.t (Wstat: 0 Tests: 4 Failed: 0)
TODO passed: 1-4
t/zzScrolled.t (Wstat: 0 Tests: 94 Failed: 0)
TODO passed: 52, 66, 80, 94
Files=74, Tests=4348, 148 wallclock secs ( 1.33 usr 0.14 sys + 24.78 cusr 1.90 csys = 28.15 CPU)
Result: FAIL
Failed 1/74 test programs. 4/4348 subtests failed.
Makefile:1654: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
archive
When I tried to install Tk (Tk-804.032) the test failled with the below I am using Perl 5, version 18, subversion 2 (v5.18.2) built for i686-linux-thread-multi