perl-tk icon indicating copy to clipboard operation
perl-tk copied to clipboard

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

Open hakonhagland opened this issue 8 years ago • 2 comments

$ 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

hakonhagland avatar Jul 08 '17 04:07 hakonhagland

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

eserte avatar Jul 09 '17 19:07 eserte

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.

hakonhagland avatar Jul 11 '17 14:07 hakonhagland