mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Unit test fix: skip tests for signal USR1 in Windows.
This commit is contained in:
parent
c817305b3a
commit
6292a91a0b
1 changed files with 4 additions and 0 deletions
|
@ -186,6 +186,10 @@ describe Pry do
|
||||||
|
|
||||||
describe "inside signal handler" do
|
describe "inside signal handler" do
|
||||||
before do
|
before do
|
||||||
|
unless Signal.list.has_key?('USR1')
|
||||||
|
skip "Host OS #{RbConfig::CONFIG['host_os']} doesn't support signal USR1"
|
||||||
|
end
|
||||||
|
|
||||||
if Pry::Helpers::Platform.jruby?
|
if Pry::Helpers::Platform.jruby?
|
||||||
skip "jruby allows mutex usage in signal handlers"
|
skip "jruby allows mutex usage in signal handlers"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue