Skip to content
This repository
Browse code

rake task to run tests with aggressive garbage collection

  • Loading branch information...
commit 1e32e9e5ca869e5960fb7b84b162615d6628f179 1 parent d63a3ff
Mike Dalessio authored

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

  1. 6  Rakefile
6  Rakefile
@@ -222,6 +222,12 @@ namespace :test do
222 222
     puts cmdline
223 223
     system cmdline
224 224
   end
  225
+
  226
+  desc "run test suite with aggressive GC"
  227
+  task :gc => :build do
  228
+    ENV['NOKOGIRI_GC'] = "true"
  229
+    Rake::Task["test"].invoke
  230
+  end
225 231
 end
226 232
 
227 233
 

0 notes on commit 1e32e9e

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