[PATCH] Document installation and testing process for Ruby bindings

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] Document installation and testing process for Ruby bindings

David James
This patch documents the installation and testing process for the Ruby
bindings. If one of the developers who are familiar with the Ruby
bindings could take a look at this, it would be much appreciated!

subversion/bindings/swig/INSTALL
  (Step 3): Added section describing the Ruby installation process
    to Step 3: Install Specific Language Bindings
  (Testing and using SWIG bindings): Added section for ruby
    bindings

Cheers,

David

P.S. I've documented that the "check-swig-rb" target checks the Ruby
bindings against the installed bindings, not against the bindings
you've just built in the build dir. This is probably a bug similar to
Issue #2040. Should I file an issue for this?

--
http://www.cs.toronto.edu/~james

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

ruby-installation-instructions-patch.txt (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] Document installation and testing process for Ruby bindings

Kouhei Sutou
Hi,

In <[hidden email]>
  "[PATCH] Document installation and testing process for Ruby bindings" on Fri, 3 Jun 2005 16:58:04 -0400,
  David James <[hidden email]> wrote:

> This patch documents the installation and testing process for the Ruby
> bindings. If one of the developers who are familiar with the Ruby
> bindings could take a look at this, it would be much appreciated!

Great!

> P.S. I've documented that the "check-swig-rb" target checks the Ruby
> bindings against the installed bindings, not against the bindings
> you've just built in the build dir. This is probably a bug similar to
> Issue #2040. Should I file an issue for this?

I couldn't reproduce the problem. I tried the following
sequence on my FreeBSD box.

  (1) % make swig-rb
  (2) % make check-swig-rb # This worked. (but some tests failed)
  (3) % make install-swig-rb
  (4) add 'p :installed' to the head of installed svn/core.rb.
  (5) add 'p :built' to the head of svn/core.rb in built directory.
  (6) 'make check-swig-rb' shows ':built'.

I wonder that you got the problem. Because
subversion/bindings/swig/ruby/test/run-test.rb setup
$LOAD_PATH and so on to use built libraries.

Could you show me the way how to reproduce the problem and
judge the problem is occurred or not?


Thanks,
--
kou

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] Document installation and testing process for Ruby bindings (v2)

David James
> > P.S. I've documented that the "check-swig-rb" target checks the Ruby
> > bindings against the installed bindings, not against the bindings
> > you've just built in the build dir. This is probably a bug similar to
> > Issue #2040. Should I file an issue for this?
> I couldn't reproduce the problem. [...]
Thank you for your help. I have looked into the problem closely and it
turns out there is no problem here -- I was just confused by the test
failures.

I have amended my documentation patch to take out the part where I
mentioned that check-swig-rb tests "the bindings against your
currently-installed Subversion libraries," since we now know that
check-swig-rb tests the bindings against the libraries in your build
dir. The amended patch and the log message are included below.

--

This patch documents the installation and testing process for the Ruby
bindings.

subversion/bindings/swig/INSTALL
 (Step 3): Added section describing the Ruby installation process
   to Step 3: Install Specific Language Bindings
 (Testing and using SWIG bindings): Added section for ruby
   bindings

Cheers,

David

--
http://www.cs.toronto.edu/~james

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

ruby-installation-instructions-patch-v2.txt (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] Document installation and testing process for Ruby bindings (v2)

Kouhei Sutou
Hi,

In <[hidden email]>
  "Re: [PATCH] Document installation and testing process for Ruby bindings (v2)" on Sun, 5 Jun 2005 10:49:13 -0400,
  David James <[hidden email]> wrote:

> I have amended my documentation patch to take out the part where I
> mentioned that check-swig-rb tests "the bindings against your
> currently-installed Subversion libraries," since we now know that
> check-swig-rb tests the bindings against the libraries in your build
> dir. The amended patch and the log message are included below.

Thanks.
I applied the patch. (r14985)

--
kou

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]