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

Re: Help needed to update libswiss-perl



On Sat, 14 Apr 2018 00:16:35 +0200, Andreas Tille wrote:

> I injected the latest upstream
> version but it has several test suite errors.  Any help to fix these
> errors (or exclude the tests if needed) would be welcome:
> 
> ...
> Test Summary Report
> -------------------
> t/annot.t         (Wstat: 0 Tests: 2 Failed: 1)
>   Failed test:  2
> t/crc64.t         (Wstat: 0 Tests: 2 Failed: 1)
>   Failed test:  2
> t/evidence.t      (Wstat: 0 Tests: 2 Failed: 1)
>   Failed test:  2
> t/formatProblems.t (Wstat: 0 Tests: 2 Failed: 1)
>   Failed test:  2
> t/identity.t      (Wstat: 0 Tests: 2 Failed: 1)
>   Failed test:  2
> Files=10, Tests=20,  2 wallclock secs ( 0.04 usr  0.01 sys +  1.30 cusr  0.05 csys =  1.40 CPU)
> Result: FAIL
> Failed 5/10 test programs. 5/20 subtests failed.

From looking at the output of the failing tests [0] it seems that the
order of the lines in the expected and the real output is different.
As I have no idea what this output is about and if order matters and
if the real or the expected output is correct (or both or none of
them), it's a bit hard to propose any changes.
And skipping tests seems a bit dangerous as long as it is not clear
if the problem is in the tests (because of unrealistic expectations)
or in the code (beause of wrong output formatting).

Cheers,
gregor


[0] after changing "'diff'" to "'diff', '-u'" in t/*.t

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: Mercedes Sosa: Fragilidad

Attachment: signature.asc
Description: Digital Signature


Reply to: