[前][次][番号順一覧][スレッド一覧]

ruby-changes:52157

From: k0kubun <ko1@a...>
Date: Wed, 15 Aug 2018 10:41:02 +0900 (JST)
Subject: [ruby-changes:52157] k0kubun:r64365 (trunk): skip tests failing on AppVeyor MinGW

k0kubun	2018-08-15 10:40:57 +0900 (Wed, 15 Aug 2018)

  New Revision: 64365

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64365

  Log:
    skip tests failing on AppVeyor MinGW
    
    Let me skip this to make CI green first and take a look later...

  Modified files:
    trunk/test/readline/test_readline.rb
    trunk/test/ruby/test_env.rb
Index: test/ruby/test_env.rb
===================================================================
--- test/ruby/test_env.rb	(revision 64364)
+++ test/ruby/test_env.rb	(revision 64365)
@@ -455,6 +455,9 @@ class TestEnv < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_env.rb#L455
   end
 
   def test_huge_value
+    if ENV.key?('APPVEYOR') && /mingw/ =~ RUBY_PLATFORM
+      skip 'failing on AppVeyor MinGW build for now'
+    end
     huge_value = "bar" * 40960
     ENV["foo"] = "bar"
     if /mswin|mingw/ =~ RUBY_PLATFORM && windows_version < 7
Index: test/readline/test_readline.rb
===================================================================
--- test/readline/test_readline.rb	(revision 64364)
+++ test/readline/test_readline.rb	(revision 64365)
@@ -13,6 +13,9 @@ class TestReadline < Test::Unit::TestCas https://github.com/ruby/ruby/blob/trunk/test/readline/test_readline.rb#L13
   SAVED_ENV = %w[COLUMNS LINES]
 
   def setup
+    if ENV.key?('APPVEYOR') && /mingw/ =~ RUBY_PLATFORM
+      skip 'failing on AppVeyor MinGW build for now'
+    end
     @saved_env = ENV.values_at(*SAVED_ENV)
     @inputrc, ENV[INPUTRC] = ENV[INPUTRC], IO::NULL
   end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]