diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-04 12:45:46 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-04 12:45:46 +0000 |
commit | e4664efaf8c29b7f670157266d2d3551fdde6776 (patch) | |
tree | fe5e4b63e3955a19dafb03be2f779641e4bd55a4 /test/rubygems/test_gem_commands_build_command.rb | |
parent | bd9a78a0fed1b937aaaa2edaf893475a81c6d456 (diff) | |
download | ruby-e4664efaf8c29b7f670157266d2d3551fdde6776.tar.gz |
Skip more rubygems tests when openssl is missing
Some tests are already skipped, but some tests are not.
So latter should be skipped too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_commands_build_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_build_command.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_commands_build_command.rb b/test/rubygems/test_gem_commands_build_command.rb index 6d31949187..19ca03bb70 100644 --- a/test/rubygems/test_gem_commands_build_command.rb +++ b/test/rubygems/test_gem_commands_build_command.rb @@ -154,6 +154,8 @@ class TestGemCommandsBuildCommand < Gem::TestCase SIGNING_KEY = key_path 'private3072' def test_build_signed_gem + skip 'openssl is missing' unless defined?(OpenSSL::SSL) + trust_dir = Gem::Security.trust_dir spec = util_spec 'some_gem' do |s| |