Subject: | Fails without X display |
See subject. Test log:
...
PERL_DL_NONLAZY=1 "/opt/perl-5.26.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused
(notify.t:20565): Gtk-WARNING **: cannot open display:
t/notify.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 2/2 subtests
...
In contrast, Gtk3's test suite does not fail in this situation; it seems that an init_check method is called first to test if there's a display available.