eserte / perl-tk

the perl module Tk
https://metacpan.org/release/Tk
Other
44 stars 31 forks source link

Installing Tk with perl 5.26 on Ubuntu 17.04: failed test in listbox.t #29

Open hakonhagland opened 7 years ago

hakonhagland commented 7 years ago
$ cpanm Tk
[...]
  t/list.t ..................... ok

#   Failed test at t/listbox.t line 757.
#          got: '0'
#     expected: '1'
# Looks like you failed 1 test of 537.
t/listbox.t ..................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/537 subtests
        (less 81 skipped subtests: 455 okay)
        (3 TODO tests unexpectedly succeeded)

not ok 501 # TODO Not yet implemented in Perl/Tk
#   Failed (TODO) test at listbox.t line 2014.
#     Structures begin differing at:
#          $got->[0] = Does not exist
#     $expected->[0] = '2'

The complete build log file is available here build.log.txt

eserte commented 7 years ago

Is this with the standard Ubuntu window manager? Can the failure be reproduced every time?

hakonhagland commented 7 years ago

Hi. Yes this is the standard Unity 7 window manager in Ubuntu. No, I was not able to reproduce the error. I first installed it without testing cpanm --notest Tk, then I uninstalled Tk to check if I could reproduce:

$ cpanm --uninstall Tk
$ cpanm Tk

Now, there was no failed test anymore.