Package: ruby-mkrf / 0.2.3+dfsg-5

0800_remove_rcov.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Index: ruby-mkrf/lib/mkrf/rakehelper.rb
===================================================================
--- ruby-mkrf.orig/lib/mkrf/rakehelper.rb	2013-12-24 00:23:06.732672527 +0100
+++ ruby-mkrf/lib/mkrf/rakehelper.rb	2013-12-24 00:23:30.608588122 +0100
@@ -109,15 +109,3 @@ def sub_project(project, *targets)
     end
   end
 end
-
-# Conditional require rcov/rcovtask if present
-begin
-  require 'rcov/rcovtask'
-  
-  Rcov::RcovTask.new do |t|
-    t.test_files = FileList['test/test*.rb']
-    t.rcov_opts << "-x /usr"
-    t.output_dir = "test/coverage"
-  end
-rescue Object
-end