thrift-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bryanduxb...@apache.org
Subject svn commit: r762838 - in /incubator/thrift/trunk: configure.ac lib/rb/Makefile.am
Date Tue, 07 Apr 2009 16:31:04 GMT
Author: bryanduxbury
Date: Tue Apr  7 16:31:04 2009
New Revision: 762838

URL: http://svn.apache.org/viewvc?rev=762838&view=rev
Log:
THRIFT-175. Specs in Ruby library should be run during make check

This patch makes 'make check' run 'rake spec' in the appropriate scenarios. There is still
another bug that will break the build though.


Modified:
    incubator/thrift/trunk/configure.ac
    incubator/thrift/trunk/lib/rb/Makefile.am

Modified: incubator/thrift/trunk/configure.ac
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/configure.ac?rev=762838&r1=762837&r2=762838&view=diff
==============================================================================
--- incubator/thrift/trunk/configure.ac (original)
+++ incubator/thrift/trunk/configure.ac Tue Apr  7 16:31:04 2009
@@ -95,8 +95,11 @@
 AX_THRIFT_LIB(ruby, [Ruby], yes)
 if test "$with_ruby" = "yes"; then
   AC_PATH_PROG([RUBY], [ruby])
+  AC_PATH_PROG([RSPEC], [spec])
 fi
 AM_CONDITIONAL(WITH_RUBY, [test -n "$RUBY"])
+AM_CONDITIONAL(HAVE_RSPEC, [test -n "$RSPEC"])
+
 
 AC_C_CONST
 AC_C_INLINE

Modified: incubator/thrift/trunk/lib/rb/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/Makefile.am?rev=762838&r1=762837&r2=762838&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/Makefile.am (original)
+++ incubator/thrift/trunk/lib/rb/Makefile.am Tue Apr  7 16:31:04 2009
@@ -40,3 +40,7 @@
 	$$RUBY setup.rb clean
 
 check-local: all
+if HAVE_RSPEC
+	rake spec
+endif
+



Mime
View raw message