Index: Makefile.in =================================================================== --- Makefile.in (revision 15004) +++ Makefile.in (working copy) @@ -217,6 +217,9 @@ SWIG_PL_DIR = $(abs_builddir)/subversion/bindings/swig/perl SWIG_RB_DIR = $(abs_builddir)/subversion/bindings/swig/ruby +# The path to the source files for the Ruby SWIG tests +SWIG_RB_TEST_SRCDIR = $(abs_srcdir)/subversion/bindings/swig/ruby/test + ### Automate JAR creation using Makefile generator's javahl-java.jar ### property. Enhance generator to support JAR installation. INSTALL_EXTRA_JAVAHL_JAVA=\ @@ -603,7 +606,7 @@ fi check-swig-rb: swig-rb svnserve - cd $(SWIG_RB_DIR); $(RUBY) test/run-test.rb + cd $(SWIG_RB_DIR); $(RUBY) $(SWIG_RB_TEST_SRCDIR)/run-test.rb clean-swig-rb: for d in $(SWIG_RB_DIR) $(SWIG_RB_DIR)/libsvn_swig_ruby; \ Index: tools/test-scripts/svntest/svntest-config.sh =================================================================== --- tools/test-scripts/svntest/svntest-config.sh (revision 15004) +++ tools/test-scripts/svntest/svntest-config.sh (working copy) @@ -60,6 +60,7 @@ TEST_BINDINGS_SWIG_PERL=${TEST_BINDINGS_SWIG_PERL:="no"} TEST_BINDINGS_JAVAHL=${TEST_BINDINGS_JAVAHL:="no"} TEST_BINDINGS_SWIG_PYTHON=${TEST_BINDINGS_SWIG_PYTHON:="no"} +TEST_BINDINGS_SWIG_RUBY=${TEST_BINDINGS_SWIG_RUBY:="no"} # This should correspond with your httpd Listen directive RA_DAV_CHECK_ARGS="BASE_URL=http://localhost:42024" Index: tools/test-scripts/svntest/svntest-bindings.sh =================================================================== --- tools/test-scripts/svntest/svntest-bindings.sh (revision 15004) +++ tools/test-scripts/svntest/svntest-bindings.sh (working copy) @@ -40,6 +40,21 @@ fi } +# With swig-rb run following targets: +# build, install, check +BINDING_NAME="swig-rb" +test "$TEST_BINDINGS_SWIG_RUBY" = "yes" && { + $NICE $EXEC_PATH/svntest-bindings-generic.sh \ + "$BUILD_TYPE" "$BINDING_NAME" \ + "swig-rb" "install-swig-rb" "check-swig-rb" + if test $? = 0 + then + send_bindings_email "$BINDING_NAME" "PASS" + else + send_bindings_email "$BINDING_NAME" "FAIL" + fi +} + # With swig-py run following targets: # build, install BINDING_NAME="swig-py"