Skip Menu |

This queue is for tickets about the Gtk3-Ex-PdfViewer CPAN distribution.

Report information
The Basics
Id: 127687
Status: new
Priority: 0/
Queue: Gtk3-Ex-PdfViewer

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

Bug Information
Severity: (no value)
Broken in: 1.00
Fixed in: (no value)



Subject: Fails without X display
On a headless linux system: ... PERL_DL_NONLAZY=1 "/opt/perl-5.28.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/Gtk3-Ex-PdfViewer.t Unable to init server: Could not connect: Connection refused (Gtk3-Ex-PdfViewer.t:24911): Gtk-WARNING **: 14:14:33.101: cannot open display: t/Gtk3-Ex-PdfViewer.t .. Dubious, test returned 1 (wstat 256, 0x100) No subtests run ... Probably the test file should first check if the display can be opened at all --- not sure how to do this with Gtk. With Tk I would do something like: my $mw = eval { tkinit }; plan skip_all => "Cannot create MainWindow: $@" if !$mw;