[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#507548: ITP: libtest-needsdisplay-perl -- Ensure that tests needing a display have one



On Wed, 2008-12-03 at 07:01 +0200, Damyan Ivanov wrote:
> -=| Ben Hutchings, Wed, Dec 03, 2008 at 01:40:12AM +0000 |=-
> > On Tue, 2008-12-02 at 12:23 +0200, Damyan Ivanov wrote:
> > [...]
> > >   The Test::NeedsDisplay module will search around and try to find a way
> > >   to load some sort of display that can be used for the testing.
> > > 
> > > Test-NeedsDisplay is needed during Padre build. Will be maintained under
> > > the umbrella of the Debian Perl Group.
> > 
> > Really?  You can't use xvfb-run?
> 
> I do use it. Test-NeedsDisplay in fact does nothing if there is 
> display already running, and if not, starts... xvfb-run.
> 
> The tests of padre, however, are written in such a form, that they 
> delegate the task of detecting a running display to Test-NeedsDisplay. 
> If that module is not available, the tests are skipped, despite the 
> presence of display.
[...]

Since it's an upstream dependency...

> I hope you are now convinced that this package is needed?

...yes, I am.  I was just checking that you weren't reinventing the wheel.

Ben.

-- 
Ben Hutchings
Klipstein's 4th Law of Prototyping and Production:
                                    A fail-safe circuit will destroy others.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: