diff options
Diffstat (limited to 'test/mkmf/test_constant.rb')
-rw-r--r-- | test/mkmf/test_constant.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/mkmf/test_constant.rb b/test/mkmf/test_constant.rb index f6834c7f28..f22b82ff95 100644 --- a/test/mkmf/test_constant.rb +++ b/test/mkmf/test_constant.rb @@ -2,6 +2,14 @@ require_relative 'base' class TestMkmfTryConstant < TestMkmf + def setup + if ENV.key?('APPVEYOR') + @omitted = true + omit 'This test fails too often on AppVeyor' + end + super + end + def test_simple assert_equal( 0, mkmf {try_constant("0")}, MKMFLOG) assert_equal( 1, mkmf {try_constant("1")}, MKMFLOG) |