summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_build_command.rb
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-04 12:45:46 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-04 12:45:46 +0000
commite4664efaf8c29b7f670157266d2d3551fdde6776 (patch)
treefe5e4b63e3955a19dafb03be2f779641e4bd55a4 /test/rubygems/test_gem_commands_build_command.rb
parentbd9a78a0fed1b937aaaa2edaf893475a81c6d456 (diff)
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.rb2
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|