On Fri, Sep 09, 2016 at 11:00:32AM +0300, Niko Tyni wrote:
> Package: libsdl-perl:
> Version: 2.546-2
> User: debian-p...@lists.debian.org
> Usertags: autopkgtest
> This package is failing its autopkgtest checks on current sid.
> I haven't really found out what's happening yet, but it may be caused
> by perl 5.22.2-4, which removed cwd from @INC.
Nope, the regression is caused by something starting to pull in
the separate libtest-simple-perl package.
> t/core_audiospec.t .............. skipped: (no reason given)
> t/core_audiospec.t (Wstat: 0 Tests: 10 Failed: 0)
> Parse errors: Bad plan. You planned 0 tests but ran 10.
The test script breaks with newer versions of Test::More. We don't see
it in builds because it only gets run when AUTOMATED_TESTING=1, which
is the case with pkg-perl-autopkgtest but not with regular builds.
It looks like Test::More is internally counting the test cases it has
seen, but threading breaks this with newer versions of Test::More.
This is not supposed to happen: Test::More et al advertise multiple
I haven't managed to distill it down to a simple test case. I suspect
it's something to do with the way SDL XS code uses threads.
For now, I suggest we set AUTOMATED_TESTING=0 in
debian/tests/pkg-perl/smoke-env, even if that's somewhat unsatisfactory.
Niko Tyni nt...@debian.org