Skip to content
This repository
Browse code

Don't halt railties tests on failures

  • Loading branch information...
commit 60ab9255f0cb09ee5d2891878f715f301ad7a213 1 parent 0b3dd57
Jeremy Kemper authored June 24, 2010

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

  1. 4  railties/Rakefile
4  railties/Rakefile
@@ -18,11 +18,11 @@ task :test => 'test:isolated'
18 18
 namespace :test do
19 19
   task :isolated do
20 20
     dir = ENV["TEST_DIR"] || "**"
21  
-    Dir["test/#{dir}/*_test.rb"].all? do |file|
  21
+    Dir["test/#{dir}/*_test.rb"].each do |file|
22 22
       next true if file.include?("fixtures")
23 23
       ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME'))
24 24
       system(ruby, '-Itest', "-I#{File.dirname(__FILE__)}/../activesupport/lib", file)
25  
-    end or raise "Failures"
  25
+    end
26 26
   end
27 27
 end
28 28
 

1 note on commit 60ab925

Rohit Arondekar
rohit commented on 60ab925 June 24, 2010

Thank you for this! :)

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