mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Tidy up the build output for Active Job adapters
This commit is contained in:
parent
1811e84116
commit
7437b6a361
2 changed files with 8 additions and 3 deletions
|
@ -68,10 +68,17 @@ def run_without_aborting(tasks)
|
|||
errors = []
|
||||
|
||||
tasks.each do |task|
|
||||
puts "\n\n--- rake #{task}\n"
|
||||
|
||||
Rake::Task[task].invoke
|
||||
rescue Exception
|
||||
puts "\n^^^ +++"
|
||||
|
||||
errors << task
|
||||
end
|
||||
|
||||
abort "Errors running #{errors.join(', ')}" if errors.any?
|
||||
if errors.any?
|
||||
puts "\n\n+++ Summary\n"
|
||||
abort "Errors running #{errors.join(', ')}"
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
puts "\n\n*** rake test:integration:#{ENV['AJ_ADAPTER']} ***\n"
|
||||
|
||||
ENV["RAILS_ENV"] = "test"
|
||||
ActiveJob::Base.queue_name_prefix = nil
|
||||
|
||||
|
|
Loading…
Reference in a new issue