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

Eric Lindblad geirfuglaps at yahoo.com
Fri Jun 19 09:33:09 BST 2015


Dear Olly Betts,

I think the tests for the perl module Search-Xapian-1.2.21.0 might be fewer in number than the perl tests included with xapian-bindings-1.2.21. If some of the tests have similar but modified content I do not know. I am not so skilled as to interpret the compared test results.

If you want to suggest a paired earlier version of Xapian to a specific xapian.bindings version,
I might run those bindings' perl tests on the Slackware-14.0, if I have the time.

I earlier had installed on various OSes namazu, a programmer from Japan,
the author of Kirara (for Plan9) - it would take some work to get it to run in
plan9port - recommend as namazu appears no longer to be maintained, and
if your main OS is Linux or MS, to use Xapian. It was my first installation of
Xapian.

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

I'm traveling and have a little Samsung NC-10 Netbook (2009 circa)
its 32bit.

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

As above, my first Xapian install.

Sincerely,
Eric Lindblad
http://www.ericlindblad.blogspot.com

--------------------------------------------
On Fri, 6/19/15, Olly Betts <olly at survex.com> wrote:

 Subject: Re: [Xapian-discuss] make check xapian-bindings-1.2.21 & Search-Xapian-1.2.21.0
 To: "Eric Lindblad" <geirfuglaps at yahoo.com>
 Cc: xapian-discuss at lists.xapian.org
 Date: Friday, June 19, 2015, 9:43 AM
 
 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