diff options
author | Ben Asher <benasher44@gmail.com> | 2016-08-12 07:58:10 -0700 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-08-12 17:08:16 +0200 |
commit | 5ab9ccae60df969160201d8f4477bbe1029aaabb (patch) | |
tree | 0c81b8f9b60810c71e96058d106cbfd60c0a11e0 | |
parent | 775579a815a2e5dec3cf22736684fa3e92d1379c (diff) | |
download | bacon-5ab9ccae60df969160201d8f4477bbe1029aaabb.tar.gz bacon-5ab9ccae60df969160201d8f4477bbe1029aaabb.tar.xz bacon-5ab9ccae60df969160201d8f4477bbe1029aaabb.zip |
Closes: #30 [via git-merge-pr]
-rw-r--r-- | lib/bacon.rb | 2 |
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+/ }. |