Subject: | Fails without X display |
See subject. A sample test log output:
...
# Running under perl version 5.028000 for linux
# Current time local: Sun Oct 28 09:11:30 2018
# Current time GMT: Sun Oct 28 09:11:30 2018
# Using Test.pm version 1.31
Gtk-WARNING **: cannot open display: at /home/cpansand/.cpan/build/2018102809/Gtk2-1.24992-0/blib/lib/Gtk2.pm line 126.
make: *** [test_dynamic] Error 1
...
I know how I would fix the problem with Tk (simply eval'ing the MainWindow creation and skip_all if that failed) --- maybe something similar is possible with Gtk2.