Skip to content

Commit

Permalink
Axe excess backtracery.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7770 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
jeremy committed Oct 7, 2007
1 parent 8d7eb30 commit 98f5060
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions railties/lib/tasks/testing.rake
Expand Up @@ -40,17 +40,15 @@ end


desc 'Test all units and functionals' desc 'Test all units and functionals'
task :test do task :test do
%w(test:units test:functionals test:integration).collect do |task| errors = %w(test:units test:functionals test:integration).collect do |task|
begin begin
Rake::Task[task].invoke Rake::Task[task].invoke
nil nil
rescue => e rescue => e
e unless e.message.starts_with?('Command failed with status (1)') task
end end
end.compact.each do |e| end.compact
puts e puts "Errors running #{errors.to_sentence}!" if errors.any?
puts " #{e.backtrace * " \n"}"
end
end end


namespace :test do namespace :test do
Expand Down

0 comments on commit 98f5060

Please sign in to comment.