Subject: | Fails without X display |
The test suite fails if there's no X11 display available:
...
"/opt/perl-5.24.4t/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- AppIndicator.bs blib/arch/auto/Gtk2/AppIndicator/AppIndicator.bs 644
PERL_DL_NONLAZY=1 "/opt/perl-5.24.4t/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Gtk-WARNING **: cannot open display: at /opt/perl-5.24.4t/lib/site_perl/5.24.4/x86_64-linux-thread-multi/Gtk2.pm line 126.
t/Gtk2-AppIndicator.t ..
Dubious, test returned 1 (wstat 256, 0x100)
No subtests run
...
It would be better if the test suite detects this situation, and skips remaining tests (like this is done in the Tk test suite).