Subject: | Tests fail without a DISPLAY |
Test log:
...
PERL_DL_NONLAZY=1 "/usr/perl5.26.0p/bin/perl5.26.0" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
GLib-GObject-CRITICAL **: Object class Gtk2__Ex__Datasheet__DBI__CellEditableText doesn't implement property 'editing-canceled' from interface 'GtkCellEditable' at /usr/perl5.26.0p/lib/site_perl/5.26.0/amd64-freebsd/Glib/Object/Subclass.pm line 235.
Gtk-WARNING **: cannot open display: at /usr/perl5.26.0p/lib/site_perl/5.26.0/amd64-freebsd/Gtk2.pm line 126.
t/Gtk2-Ex-Datasheet-DBI.t ..
Dubious, test returned 1 (wstat 256, 0x100)
No subtests run
...
Probably it's best to check first if there's a display available, and skip tests if not.