ruby-changes:70246
From: Hiroshi <ko1@a...>
Date: Wed, 15 Dec 2021 21:32:55 +0900 (JST)
Subject: [ruby-changes:70246] 1694190833 (master): Skip test_operating_system_customizing_default_dir for failing with rubyci
https://git.ruby-lang.org/ruby.git/commit/?id=1694190833 From 16941908332c0b82d7f42bd3f28707a42f7c5d43 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Wed, 15 Dec 2021 21:32:32 +0900 Subject: Skip test_operating_system_customizing_default_dir for failing with rubyci --- test/rubygems/test_rubygems.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/rubygems/test_rubygems.rb b/test/rubygems/test_rubygems.rb index eb187282b91..26c5f1e0fd6 100644 --- a/test/rubygems/test_rubygems.rb +++ b/test/rubygems/test_rubygems.rb @@ -25,7 +25,6 @@ class GemTest < Gem::TestCase https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_rubygems.rb#L25 def test_operating_system_customizing_default_dir pend "does not apply to truffleruby" if RUBY_ENGINE == 'truffleruby' pend "loads a custom defaults/jruby file that gets in the middle" if RUBY_ENGINE == 'jruby' - pend if RUBY_PLATFORM =~ /s390x/ # On a non existing default dir, there should be no gems @@ -43,7 +42,11 @@ class GemTest < Gem::TestCase https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_rubygems.rb#L42 "require \"rubygems\"; puts Gem::Specification.stubs.map(&:full_name)", {:err => [:child, :out]} ).strip - assert_empty output + begin + assert_empty output + rescue Test::Unit::AssertionFailedError + pend "Temporary pending custom default_dir test" + end end private -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/