From 06cd1463078950e3f2964f308b26fe85a1be2088 Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Tue, 23 Dec 2014 00:29:15 -0600 Subject: [PATCH] Fix jruby signal exception --- Rakefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Rakefile b/Rakefile index b80407d..f4ba838 100644 --- a/Rakefile +++ b/Rakefile @@ -39,6 +39,12 @@ task :test do begin task.invoke + rescue SignalException => e + if e.message == "2" + skipped << task.name + else + failed << task.name + end rescue Exception => e if e.message[/Command failed with status \((\d+)\)/, 1] == "2" skipped << task.name