<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -21,6 +21,7 @@ HOE = Hoe.new &quot;johnson&quot;, Johnson::VERSION do |p|
   p.clean_globs     &lt;&lt; &quot;lib/johnson/spidermonkey.bundle&quot;
   p.clean_globs     &lt;&lt; &quot;tmp&quot;
   p.clean_globs     &lt;&lt; &quot;vendor/spidermonkey/**/*.OBJ&quot;
+  p.clean_globs     &lt;&lt; &quot;ext/**/*.{o,so,bundle,a,log}&quot;
 
   p.extra_deps      &lt;&lt; &quot;rake&quot;
   p.extra_dev_deps  &lt;&lt; &quot;rake-compiler&quot;</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,12 @@
+def test_suite_cmdline
+  require 'find'
+  files = []
+  Find.find(&quot;test&quot;) do |f|
+    files &lt;&lt; f if File.basename(f) =~ /.*test.*\.rb$/
+  end
+  cmdline = &quot;#{RUBY} -w -I.:lib:ext:test -rtest/unit -e '%w[#{files.join(' ')}].each {|f| require f}'&quot;
+end
+
 namespace :test do
   # partial-loads-ok and undef-value-errors necessary to ignore
   # spurious (and eminently ignorable) warnings from the ruby
@@ -5,14 +14,14 @@ namespace :test do
   VALGRIND_BASIC_OPTS = &quot;--num-callers=50 --error-limit=no --partial-loads-ok=yes --undef-value-errors=no&quot;
 
   desc &quot;run test suite under valgrind with basic ruby options&quot;
-  task :valgrind =&gt; :build do
+  task :valgrind =&gt; :compile do
     cmdline = &quot;valgrind #{VALGRIND_BASIC_OPTS} #{test_suite_cmdline}&quot;
     puts cmdline
     system cmdline
   end
 
   desc &quot;run test suite under valgrind with memory-fill ruby options&quot;
-  task :valgrind_mem =&gt; :build do
+  task :valgrind_mem =&gt; :compile do
     # fill malloced memory with &quot;m&quot; and freed memory with &quot;f&quot;
     cmdline = &quot;valgrind #{VALGRIND_BASIC_OPTS} --freelist-vol=100000000 --malloc-fill=6D --free-fill=66 #{test_suite_cmdline}&quot;
     puts cmdline
@@ -20,7 +29,7 @@ namespace :test do
   end
 
   desc &quot;run test suite under valgrind with memory-zero ruby options&quot;
-  task :valgrind_mem0 =&gt; :build do
+  task :valgrind_mem0 =&gt; :compile do
     # fill malloced and freed memory with 0
     cmdline = &quot;valgrind #{VALGRIND_BASIC_OPTS} --freelist-vol=100000000 --malloc-fill=00 --free-fill=00 #{test_suite_cmdline}&quot;
     puts cmdline
@@ -28,7 +37,7 @@ namespace :test do
   end
 
   desc &quot;run test suite under gdb&quot;
-  task :gdb =&gt; :build do
+  task :gdb =&gt; :compile do
     cmdline = &quot;gdb --args #{test_suite_cmdline}&quot;
     puts cmdline
     system cmdline</diff>
      <filename>lib/tasks/testing.rake</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7c2501c4a94aacce2a678720a003832b637d197f</id>
    </parent>
  </parents>
  <author>
    <name>Aaron Patterson</name>
    <email>aaron.patterson@gmail.com</email>
  </author>
  <url>http://github.com/jbarnette/johnson/commit/1767ffff15bddd039f6e635e30449c22260eca2b</url>
  <id>1767ffff15bddd039f6e635e30449c22260eca2b</id>
  <committed-date>2009-03-26T20:23:26-07:00</committed-date>
  <authored-date>2009-03-26T20:23:26-07:00</authored-date>
  <message>fixing test tasks, updating rakefile clean blobs</message>
  <tree>cbc58877fb8dddd35989489190875088f66ac6dc</tree>
  <committer>
    <name>Aaron Patterson</name>
    <email>aaron.patterson@gmail.com</email>
  </committer>
</commit>
