<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,6 +10,9 @@ java    = RUBY_PLATFORM =~ /java/
 GENERATED_PARSER    = &quot;lib/nokogiri/css/generated_parser.rb&quot;
 GENERATED_TOKENIZER = &quot;lib/nokogiri/css/generated_tokenizer.rb&quot;
 
+# Make sure hoe-debugging is installed
+Hoe.plugin :debugging
+
 HOE = Hoe.spec 'nokogiri' do
   developer('Aaron Patterson', 'aaronp@rubyforge.org')
   developer('Mike Dalessio', 'mike.dalessio@gmail.com')
@@ -178,7 +181,7 @@ unless windows || java || ENV['NOKOGIRI_FFI']
   end
 
   Rake::Task[:test].prerequisites &lt;&lt; :compile
-  ['valgrind', 'valgrind_mem', 'valgrind_mem0', 'coverage'].each do |task_name|
+  ['valgrind', 'valgrind:mem', 'valgrind:mem0'].each do |task_name|
     Rake::Task[&quot;test:#{task_name}&quot;].prerequisites &lt;&lt; :compile
   end
 else</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,64 +1,3 @@
-# partial-loads-ok and undef-value-errors necessary to ignore
-# spurious (and eminently ignorable) warnings from the ruby
-# interpreter
-VALGRIND_BASIC_OPTS = &quot;--num-callers=50 --error-limit=no --partial-loads-ok=yes --undef-value-errors=no&quot;
-
-class NokogiriTestTask &lt; Rake::TestTask
-  def initialize *args
-    super
-    %w[ ext lib bin test ].each do |dir|
-      self.libs &lt;&lt; dir
-    end
-    self.test_files = FileList['test/**/test_*.rb'] +
-      FileList['test/**/*_test.rb']
-    self.verbose = &quot;verbose&quot;
-    self.warning = true
-  end
-end
-
-desc &quot;run test suite under valgrind with basic ruby options&quot;
-NokogiriTestTask.new('test:valgrind').extend(Module.new {
-  def ruby *args
-    run_with_env &quot;valgrind #{VALGRIND_BASIC_OPTS} #{RUBY} #{args.join(' ')} test/test_nokogiri.rb --verbose=verbose&quot;
-  end
-})
-
-desc &quot;run test suite under valgrind with memory-fill ruby options&quot;
-NokogiriTestTask.new('test:valgrind_mem').extend(Module.new {
-  def ruby *args
-    run_with_env &quot;valgrind #{VALGRIND_BASIC_OPTS} --freelist-vol=100000000 --malloc-fill=6D --free-fill=66 #{RUBY} #{args.join(' ')} test/test_nokogiri.rb --verbose=verbose&quot;
-  end
-})
-
-desc &quot;run test suite under valgrind with memory-zero ruby options&quot;
-NokogiriTestTask.new('test:valgrind_mem0').extend(Module.new {
-  def ruby *args
-    run_with_env &quot;valgrind #{VALGRIND_BASIC_OPTS} --freelist-vol=100000000 --malloc-fill=00 --free-fill=00 #{RUBY} #{args.join(' ')} test/test_nokogiri.rb --verbose=verbose&quot;
-  end
-})
-
-desc &quot;run test suite under gdb&quot;
-NokogiriTestTask.new('test:gdb').extend(Module.new {
-  def ruby *args
-    run_with_env &quot;gdb --args #{RUBY} #{args.join(' ')}&quot;
-  end
-})
-
-desc &quot;test coverage&quot;
-NokogiriTestTask.new('test:coverage').extend(Module.new {
-  def ruby *args
-    rm_rf &quot;coverage&quot;
-    run_with_env &quot;rcov -x Library -I lib:ext:test #{args.join(' ')}&quot;
-  end
-})
-
-desc &quot;run test suite with verbose output&quot;
-NokogiriTestTask.new('test:verbose').extend(Module.new {
-  def ruby *args
-    run_with_env &quot;#{RUBY} #{args.join(' ')} test/test_nokogiri.rb --verbose=verbose&quot;
-  end
-})
-
 def run_with_env(cmd)
   cmd = &quot;LD_LIBRARY_PATH='#{ENV['LD_LIBRARY_PATH']}' #{cmd}&quot;
   puts &quot;=&gt; #{cmd}&quot;</diff>
      <filename>tasks/test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b69649bf6ca39b7eea3476f7d9fa2828ec74ea5a</id>
    </parent>
  </parents>
  <author>
    <name>Aaron Patterson</name>
    <email>aaron.patterson@gmail.com</email>
  </author>
  <url>http://github.com/tenderlove/nokogiri/commit/cfc1419e82c17a3a5309a4ee73f80e700cabcff4</url>
  <id>cfc1419e82c17a3a5309a4ee73f80e700cabcff4</id>
  <committed-date>2009-06-22T22:10:11-07:00</committed-date>
  <authored-date>2009-06-22T22:10:11-07:00</authored-date>
  <message>removing valgrind tasks in favor of a hoe plugin</message>
  <tree>c72c7ebe62287c01f0a1080c5b32a0e1ca4a9dc8</tree>
  <committer>
    <name>Aaron Patterson</name>
    <email>aaron.patterson@gmail.com</email>
  </committer>
</commit>
