[Xapian-discuss] Perl XS bindings, postlist_begin
Francis Irving
francis@flourish.org
Sat, 29 May 2004 09:59:36 +0100
> On Fri, May 28, 2004 at 02:59:51PM +0100, Francis Irving wrote:
> > OK, then I can just apply that and have one handle... Thanks!
>
> New patch attached. This includes the previous changes, so reverse the
> previous patch first, or patch from a fresh unpack.
>
> Alex: It actually fixes rather a lot of things (I've listed these in a
> new Changes entry). I think it probably justifies a new release of the
> bindings.
"make test" is failing with this for me
$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/create....ok
t/index.....ok 3/15Can't locate object method "get_description" via package "Search::Xapian::Stem" at t/index.t line 25.
t/index.....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 4-15
Failed 12/15 tests, 20.00% okay
t/search....NOK 47# Failed test (t/search.t at line 62)
# got: '0'
# expected: '2'
t/search....dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 47, 52-68
Failed 18/68 tests, 73.53% okay
t/tied......NOK 1# Failed test 1 in t/tied.t at line 28
# t/tied.t line 28 is: ok( @matches = $enq->matches(0, 10) );
t/tied......NOK 2# Failed test 2 in t/tied.t at line 30
# t/tied.t line 30 is: ok( $match = $matches[0] );
Can't call method "get_docid" on an undefined value at t/tied.t line 31.
t/tied......dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-6
Failed 6/6 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/index.t 2 512 15 24 160.00% 4-15
t/search.t 0 11 68 35 51.47% 47 52-68
t/tied.t 2 512 6 10 166.67% 1-6
Failed 3/4 test scripts, 25.00% okay. 36/91 subtests failed, 60.44% okay.
make: *** [test_dynamic] Error 2