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:
parent
0ef664e93d
commit
06cd146307
1 changed files with 6 additions and 0 deletions
6
Rakefile
6
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
|
||||
|
|
Loading…
Reference in a new issue