method
_run_suites
v2_1_10 -
Show latest stable
- Class:
Test::Unit::Runner
_run_suites(suites, type)public
No documentation available.
# File lib/test/unit.rb, line 653
def _run_suites suites, type
_prepare_run(suites, type)
@interrupt = nil
result = []
GC.start
if @options[:parallel]
_run_parallel suites, type, result
else
suites.each {|suite|
begin
result << _run_suite(suite, type)
rescue Interrupt => e
@interrupt = e
break
end
}
end
report.reject!{|r| r.start_with? "Skipped:" } if @options[:hide_skip]
report.sort_by!{|r| r.start_with?("Skipped:") ? 0 : (r.start_with?("Failure:") ? 1 : 2) }
result
end