Bug#895191: pkg-perl-autopkgtest: run syntax.t and use.t with xvfb-run

Niko Tyni ntyni at debian.org
Sun Apr 8 10:29:05 BST 2018


On Sun, Apr 08, 2018 at 12:01:11PM +0300, Niko Tyni wrote:
> Package: pkg-perl-autopkgtest
> Version: 0.43
> Severity: wishlist
> 
> We're currently disabling syntax.t and use.t in libwx-perl because they
> need a $DISPLAY, and libwx-glcanvas-perl is similarly affected. I expect
> there are more. I don't see any downside to running these checks under
> xvfb-run, so we should probably just do that for all packages.  

Hm. I now realize smoke.t is relying on xvfb getting pulled in via the
build dependencies, and using it only when it's available. This approach
does not work for syntax.t and use.t, where xvfb-run is almost always
not going to be available.

The test dependencies come from /usr/share/autodep8/support/perl/generate,
so that would need an update. I wonder if that's overkill for a handful
of packages. Thoughts?

> I guess any configurability should be common with smoke.t, so #895190
> is related.

Not sure if configurability is necessary for these tests. #895190 is
easily solvable with existing infrastructure (smoke-env), and I'd
like to avoid making this stuff even more complex. So I'm inclined
to start small here (if at all).
-- 
Niko



More information about the pkg-perl-maintainers mailing list