Hi!

I recently uploaded a small dist to CPAN (App-TimeTracker-Gtk2TrayIcon) 
that uses Gtk2::TrayIcon to display my working status (powered by 
App::TimeTracker...)

Now I'm getting FAIL reports like this:
http://www.cpantesters.org/cpan/report/0c00fda4-cde2-11e0-bbec-9aeec8b7ec30

[ERROR] [Wed Aug 24 00:45:54 2011] MAKE TEST failed:
Gtk-WARNING **: cannot open display:  at 
/usr/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/Gtk2-1.224/blib/lib/Gtk2.pm
 
line 138.

Is there an easy and/or unified way to skip tests if there is no 
display?
Are there ways to mock a display?

Thanks for any tips,
domm


-- 
#!/usr/bin/perl                              http://domm.plix.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}

Reply via email to