summary refs log tree commit diff
diff options
context:
space:
mode:
authorBen Asher <benasher44@gmail.com>2016-08-12 07:58:10 -0700
committerChristian Neukirchen <chneukirchen@gmail.com>2016-08-12 17:08:16 +0200
commit5ab9ccae60df969160201d8f4477bbe1029aaabb (patch)
tree0c81b8f9b60810c71e96058d106cbfd60c0a11e0
parent775579a815a2e5dec3cf22736684fa3e92d1379c (diff)
downloadbacon-5ab9ccae60df969160201d8f4477bbe1029aaabb.tar.gz
bacon-5ab9ccae60df969160201d8f4477bbe1029aaabb.tar.xz
bacon-5ab9ccae60df969160201d8f4477bbe1029aaabb.zip
Exit when signaled HEAD master
Closes: #30 [via git-merge-pr]
-rw-r--r--lib/bacon.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bacon.rb b/lib/bacon.rb
index 045a910..b15c172 100644
--- a/lib/bacon.rb
+++ b/lib/bacon.rb
@@ -192,6 +192,8 @@ module Bacon
               raise e  unless rescued
             end
           end
+        rescue SystemExit, Interrupt
+          raise # Re-raise signal to kill the test run
         rescue Object => e
           ErrorLog << "#{e.class}: #{e.message}\n"
           e.backtrace.find_all { |line| line !~ /bin\/bacon|\/bacon\.rb:\d+/ }.