summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/readline/test_readline.rb3
-rw-r--r--test/ruby/test_env.rb3
2 files changed, 6 insertions, 0 deletions
diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb
index ce85935e9d..f3f64e08bb 100644
--- a/test/readline/test_readline.rb
+++ b/test/readline/test_readline.rb
@@ -13,6 +13,9 @@ class TestReadline < Test::Unit::TestCase
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
diff --git a/test/ruby/test_env.rb b/test/ruby/test_env.rb
index 749f0c5b08..546828440b 100644
--- a/test/ruby/test_env.rb
+++ b/test/ruby/test_env.rb
@@ -455,6 +455,9 @@ class TestEnv < Test::Unit::TestCase
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