lib/pork/mode/parallel.rb in pork-1.4.2 vs lib/pork/mode/parallel.rb in pork-1.4.3

- old
+ new

@@ -8,10 +8,12 @@ end def parallel stat=Stat.new, paths=all_paths paths.shuffle.each_slice(cores).map do |paths_slice| Thread.new do - execute(:shuffled, Stat.new(stat.reporter), paths_slice) + execute(:shuffled, + Stat.new(stat.reporter, stat.protected_exceptions), + paths_slice) end end.map(&:value).inject(stat, &:merge) end end