1
0
Fork 0
mirror of https://github.com/rails/execjs synced 2023-03-27 23:21:20 -04:00

Fix jruby signal exception

This commit is contained in:
Joshua Peek 2014-12-23 00:29:15 -06:00
parent 0ef664e93d
commit 06cd146307

View file

@ -39,6 +39,12 @@ task :test do
begin begin
task.invoke task.invoke
rescue SignalException => e
if e.message == "2"
skipped << task.name
else
failed << task.name
end
rescue Exception => e rescue Exception => e
if e.message[/Command failed with status \((\d+)\)/, 1] == "2" if e.message[/Command failed with status \((\d+)\)/, 1] == "2"
skipped << task.name skipped << task.name