[Xapian-discuss] make check xapian-bindings-1.2.21 & Search-Xapian-1.2.21.0

Olly Betts olly at survex.com
Fri Jun 19 08:43:47 BST 2015


On Tue, Jun 09, 2015 at 05:52:06PM -0700, Eric Lindblad wrote:
> Slackware-14.0
> 
> bash-4.2# make check
> Making check in perl
> make[1]: Entering directory `/home/eric/xapian-bindings-1.2.21/perl'
[...]
> ./t/document.t .. 1/26 # Failed test 5 in ./t/document.t at line 32
> #  ./t/document.t line 32 is: ok( $it ne $doc->values_end() );
> # Failed test 9 in ./t/document.t at line 37
> #  ./t/document.t line 37 is: ok( $it ne $doc->values_end() );
> # Failed test 13 in ./t/document.t at line 42
> #  ./t/document.t line 42 is: ok( $it eq $doc->values_end() );
> # Failed test 21 in ./t/document.t at line 81
> #  ./t/document.t line 81 is: ok( $it ne $doc->termlist_end());
> # Failed test 24 in ./t/document.t at line 85
> #  ./t/document.t line 85 is: ok( $it eq $doc->termlist_end());
> ./t/document.t .. Failed 5/26 subtests 
[snip more failures]

I can't reproduce this on Debian unstable - all the tests pass for me.

> Slackware-14.0 
> 
> bash-4.2# pwd
> /home/eric/Search-Xapian-1.2.21.0
> bash-4.2# make test
> PERL_DL_NONLAZY=1 /usr/bin/perl5.16.1 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/01use.t ............. ok   
> t/02pod.t ............. skipped: set TEST_POD to enable this test
> t/03podcoverage.t ..... skipped: set TEST_POD_COVERAGE to enable this test
> t/04functions.t ....... ok     
> t/10query.t ........... ok     
> t/collapse.t .......... ok   
> t/create.t ............ ok   
> t/databasemodified.t .. ok   
> t/document.t .......... ok     
> t/exception.t ......... ok   
> t/index.t ............. ok       
> t/parser.t ............ 1/62 new 0x842f698 : SV = IV(0x842f694) at 0x842f698
>   REFCNT = 1
>   FLAGS = (IOK,pIOK)
>   IV = 138460792
> new 0x82a9420 : SV = IV(0x82a941c) at 0x82a9420
>   REFCNT = 1
>   FLAGS = (IOK,pIOK)
>   IV = 138283680
> old (1):
>  0 SV = UNKNOWN(0xff) (0x842f668) at 0x83cfea8
>   REFCNT = 0
>   FLAGS = ()
> old (1):
>  0 SV = UNKNOWN(0xff) (0x83cfea8) at 0x842f5d8
>   REFCNT = 0
>   FLAGS = ()

These tests also pass for me.

Incidentally, running tests as root is probably not a good idea, but
doing so doesn't cause them to fail for me.

I was using the debian package of xapian-core (1.2.21-1), Perl 5.20.2
and the arch is x86-64.

Looks like you were using Perl 5.16.1 - what's the architecture?

Have you run the tests on slackware for older Xapian versions in the
past?

Cheers,
    Olly



More information about the Xapian-discuss mailing list