Summary: | dev-perl/Term-ReadLine-Gnu-1.360.0 fails tests ( 'undef isa 'MainWindow' at t/callback.t line 76 ) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kent Fredric (IRC: kent\n) (RETIRED) <kentnl> |
Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | sam |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=690274 https://bugs.gentoo.org/show_bug.cgi?id=595346 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Kent Fredric (IRC: kent\n) (RETIRED)
2020-04-26 17:18:29 UTC
Also, the test does work just fine, and this doesn't appear to be related to the other T-RL-Gnu bug #690274 or bug #595346 Ooh, I remember where I saw this last. Maybe Tk is trying to load ... and if it is, then this test requires X11. Yay. grep -E "(use|require)\s*Tk" -nr . ./t/callback.t:47: if (eval "use Tk; 1" && $ENV{DISPLAY} && $ENV{DISPLAY} ne '') { ./t/callback.t:48: ok(1, 'use Tk'); ./eg/perlsh:454: use Tk; ./eg/ptksh+:12:# use Tk; ./eg/ptksh+:19:use Tk; ./eg/ptksh+:29:use Tk; ./blib/man1/perlsh.1:156:\& use Tk; ./blib/script/perlsh:454: use Tk; Uhuh. Yep. Omg. Reproducing a similar failure: env DISPLAY="doesntexist" perl -Mblib t/callback.t 1..8 ok 1 - load done ok 2 - An object of class 'Term::ReadLine' isa 'Term::ReadLine' ok 3 - 'Attribs' isa 'Term::ReadLine' ok 4 - use Tk not ok 5 - undef isa 'MainWindow' # Failed test 'undef isa 'MainWindow'' # at t/callback.t line 76. # undef isn't defined Cannot continue... # Looks like your test exited with 25 just after 5. Works fine here. |