From e4664efaf8c29b7f670157266d2d3551fdde6776 Mon Sep 17 00:00:00 2001 From: kazu Date: Wed, 4 Jul 2018 12:45:46 +0000 Subject: 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 --- test/rubygems/test_gem_commands_build_command.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/rubygems/test_gem_commands_build_command.rb') 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| -- cgit v1.2.3