Author: kclark
Date: Tue Jun 17 18:12:15 2008
New Revision: 668975

URL: http://svn.apache.org/viewvc?rev=668975&view=rev
Log:
Add rcov_spec task

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=668975&r1=668974&r2=668975&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/Rakefile (original)
+++ incubator/thrift/trunk/lib/rb/Rakefile Tue Jun 17 18:12:15 2008
@@ -9,6 +9,13 @@
   t.spec_opts = ['--color']
 end
 
+Spec::Rake::SpecTask.new("rcov_spec") do |t|
+  t.spec_files = FileList['spec/**/*_spec.rb']
+  t.spec_opts = ['--color']
+  t.rcov = true
+  t.rcov_opts = ['--exclude', '^spec,/gems/']
+end
+
 task :test do
   fork do
     exec 'make', '-C', File.dirname(__FILE__) + "/../../test/rb"


Reply via email to