Source: libnet-jabber-perl
Version: 2.0-3.1
Severity: important
Tags: patch
User: debian-p...@lists.debian.org
Usertags: perl-5.14-transition

This package FTBFS with perl 5.14:

You tried to run a test without a plan!  Gotta have a plan. at 
t/lib/Test/More.pm line 691
BEGIN failed--compilation aborted at t/2_client.t line 6.
# Looks like your test died before it could output anything.
t/2_client.t .................. 
Dubious, test returned 255 (wstat 65280, 0xff00)

As patched, the Debian version of this test script starts:

use lib "t/lib";
use Test::More;

plan skip_all => 'Disabled for the Debian build';

BEGIN { use_ok( "Net::Jabber" ); }

In perl 5.14, the use_ok happens before the 'plan skip_all', since it
is in a BEGIN block. (This is as I expect. I'm not sure why this doesn't
happen in perl 5.12.)

Instead, skip all tests in the 'use Test::More' line instead.

Patch attached. As I notice this package hasn't had a maintainer
update for a while, do let me know if you would prefer this package
to be adopted by the Debian Perl group instead, or NMUd (or neither).



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to