[Xapian-tickets] [Xapian] #478: Ruby bindings failing ValueCountMatchSpy test

Xapian nobody at xapian.org
Mon Jan 6 09:57:47 GMT 2014


#478: Ruby bindings failing ValueCountMatchSpy test
----------------------------+--------------------------------------
 Reporter:  charliejuggler  |             Owner:  charliejuggler
     Type:  defect          |            Status:  new
 Priority:  normal          |         Milestone:
Component:  MSVC makefiles  |           Version:  1.2.0
 Severity:  normal          |        Resolution:
 Keywords:                  |        Blocked By:
 Blocking:                  |  Operating System:  Microsoft Windows
----------------------------+--------------------------------------
\
\
\
\
\
\

Comment (by olly):

 Looking at this again, I notice you aren't passing -I. in the DOTEST
 target in win32_bindings_ruby.mak, which is needed so that ruby will look
 for xapian.rb and _xapian.so in the current directory.

 This:

 {{{
         "$(RUBY_EXE)" smoketest.rb
 }}}

 should be:

 {{{
         "$(RUBY_EXE)" -I. smoketest.rb
 }}}

 That issue alone should result in an error at {{{require 'xapian'}}}, but
 my suspicion is that you have an older version of the ruby bindings
 installed somewhere such that ruby is using that instead, and this older
 version lacks the code which wraps {{{Xapian::ValueCountMatchSpy}}}, hence
 the test fails.
\
\
\

--
Ticket URL: <http://trac.xapian.org/ticket/478#comment:5>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list