Re: Skip GTK tests if no display available?

2011-08-25 Thread Colin Newell
Would simply detecting the DISPLAY environment variable work for the first question? Colin. On 25 August 2011 07:51, Thomas Klausner wrote: > Hi! > > I recently uploaded a small dist to CPAN (App-TimeTracker-Gtk2TrayIcon) > that uses Gtk2::TrayIcon to display my working status (powered by > App

Re: Skip GTK tests if no display available?

2011-08-25 Thread Jozef Kutej
On 2011-08-25 08:51, Thomas Klausner wrote: > Are there ways to mock a display? xvfb-run -a make test j

Re: Skip GTK tests if no display available?

2011-08-25 Thread Torsten Schoenfeld
On 25.08.2011 08:51, Thomas Klausner wrote: I recently uploaded a small dist to CPAN (App-TimeTracker-Gtk2TrayIcon) that uses Gtk2::TrayIcon to display my working status (powered by App::TimeTracker...) You can use Gtk2::TestHelper to handle this automatically:

Re: Skip GTK tests if no display available?

2011-08-25 Thread Thomas Klausner
Hi! On Thu, Aug 25, 2011 at 11:32:59AM +0200, Torsten Schoenfeld wrote: > On 25.08.2011 08:51, Thomas Klausner wrote: > You can use Gtk2::TestHelper to handle this automatically: > . Hm, this means I'd have to go back to calculation the plan by hand

Re: Skip GTK tests if no display available?

2011-08-25 Thread Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯
> Now I'm getting FAIL reports like this: is relevant. > Are there ways to mock a display? signature.asc Description: This is a digitally signed message