1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Axe excess backtracery.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7770 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper 2007-10-07 06:09:54 +00:00
parent 8d7eb30898
commit 98f50607e1

View file

@ -40,17 +40,15 @@ end
desc 'Test all units and functionals'
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
Rake::Task[task].invoke
nil
rescue => e
e unless e.message.starts_with?('Command failed with status (1)')
end
end.compact.each do |e|
puts e
puts " #{e.backtrace * " \n"}"
task
end
end.compact
puts "Errors running #{errors.to_sentence}!" if errors.any?
end
namespace :test do