Skip to content
This repository
Browse code

Prune out system directories when reporting rcov results

  • Loading branch information...
commit d060a1b82bab8f65a6be2fa4f4936d59087f5ad3 1 parent 65228fc
Marcel Molina authored April 19, 2009

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  Rakefile
4  Rakefile
@@ -208,7 +208,7 @@ namespace :test do
208 208
     
209 209
   desc 'Check test coverage'
210 210
   task :coverage do
211  
-    system("rcov --sort coverage #{File.join(library_root, 'test/*_test.rb')}")
  211
+    system("rcov -x Library -x support --sort coverage #{File.join(library_root, 'test/*_test.rb')}")
212 212
     show_test_coverage_results
213 213
   end
214 214
   
@@ -224,7 +224,7 @@ namespace :test do
224 224
 
225 225
   desc 'Check test coverage of full stack remote tests'
226 226
   task :full_coverage do
227  
-    system("rcov --sort coverage #{File.join(library_root, 'test/remote/*_test.rb')} #{File.join(library_root, 'test/*_test.rb')}")
  227
+    system("rcov -x Library -x support --sort coverage #{File.join(library_root, 'test/remote/*_test.rb')} #{File.join(library_root, 'test/*_test.rb')}")
228 228
     show_test_coverage_results
229 229
   end
230 230
   

0 notes on commit d060a1b

Please sign in to comment.
Something went wrong with that request. Please try again.