Author: kclark
Date: Tue Jun 17 17:57:06 2008
New Revision: 668913

URL: http://svn.apache.org/viewvc?rev=668913&view=rev
Log:
Make `rake` run the ruby tests in test/rb as well as the new specs

Modified:
    incubator/thrift/trunk/lib/rb/Rakefile

Modified: incubator/thrift/trunk/lib/rb/Rakefile
URL: 
http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/Rakefile?rev=668913&r1=668912&r2=668913&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/Rakefile (original)
+++ incubator/thrift/trunk/lib/rb/Rakefile Tue Jun 17 17:57:06 2008
@@ -2,9 +2,16 @@
 require 'rake'
 require 'spec/rake/spectask'
 
-task :default => :spec
+task :default => [:spec, :test]
 
 Spec::Rake::SpecTask.new("spec") do |t|
   t.spec_files = FileList['spec/**/*_spec.rb']
   t.spec_opts = ['--color']
 end
+
+task :test do
+  fork do
+    exec 'make', '-C', File.dirname(__FILE__) + "/../../test/rb"
+  end
+  Process.wait
+end


Reply via email to