Skip Menu |

This queue is for tickets about the Tk-PerlMethodList CPAN distribution.

Report information
The Basics
Id: 127398
Status: resolved
Priority: 0/
Queue: Tk-PerlMethodList

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.07
Fixed in: 0.08



Subject: Fails without X display
On Unix systems without an X display the test suite fails: ... couldn't connect to display ":0" at /opt/perl-5.28.0/lib/site_perl/5.28.0/x86_64-linux/Tk/MainWindow.pm line 53. MainWindow->new() at t/Tk-PerlMethodList.t line 23. # Looks like your test exited with 111 just after 2. t/Tk-PerlMethodList.t .. Dubious, test returned 111 (wstat 28416, 0x6f00) Failed 7/9 subtests ... This may be fixed by skipping the test if the MainWindow could not created, e.g. like this (untested): my $mw = eval { MainWindow->new }; if (!$mw) { plan skip_all => "MainWindow could not be created: $@"; } plan tests => ...