diff --git a/test/mkmf/test_constant.rb b/test/mkmf/test_constant.rb index f6834c7f28..e12250d0a2 100644 --- a/test/mkmf/test_constant.rb +++ b/test/mkmf/test_constant.rb @@ -2,6 +2,12 @@ require_relative 'base' class TestMkmfTryConstant < TestMkmf + def setup + if ENV.key?('APPVEYOR') + omit 'This test fails too often on AppVeyor' + end + end + def test_simple assert_equal( 0, mkmf {try_constant("0")}, MKMFLOG) assert_equal( 1, mkmf {try_constant("1")}, MKMFLOG)