Do not rescue arbitrary killer exceptions
This commit is contained in:
parent
612d3282ac
commit
47159696e8
1 changed files with 2 additions and 6 deletions
|
@ -31,12 +31,8 @@ module Mutant
|
|||
#
|
||||
def run
|
||||
fork do
|
||||
begin
|
||||
killer = @killer.new(strategy, mutation)
|
||||
exit(killer.success? ? CLI::EXIT_SUCCESS : CLI::EXIT_FAILURE)
|
||||
rescue
|
||||
exit(CLI::EXIT_FAILURE)
|
||||
end
|
||||
killer = @killer.new(strategy, mutation)
|
||||
exit(killer.success? ? CLI::EXIT_SUCCESS : CLI::EXIT_FAILURE)
|
||||
end
|
||||
|
||||
status = Process.wait2.last
|
||||
|
|
Loading…
Add table
Reference in a new issue