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
|
def run
|
||||||
fork do
|
fork do
|
||||||
begin
|
killer = @killer.new(strategy, mutation)
|
||||||
killer = @killer.new(strategy, mutation)
|
exit(killer.success? ? CLI::EXIT_SUCCESS : CLI::EXIT_FAILURE)
|
||||||
exit(killer.success? ? CLI::EXIT_SUCCESS : CLI::EXIT_FAILURE)
|
|
||||||
rescue
|
|
||||||
exit(CLI::EXIT_FAILURE)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
status = Process.wait2.last
|
status = Process.wait2.last
|
||||||
|
|
Loading…
Add table
Reference in a new issue