mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Skip flaky mkmf tests on AppVeyor
It seems like TestMkmfTryConstant started to randomly fail, maybe related to96562a517d
or073f3b7e0a
. Some of them seem to have failed even after retries, so it feels like there's a bug in the implementation, which leaves an unrecoverable situation. https://ci.appveyor.com/project/ruby/ruby/builds/44559958/job/7uub5bmkvy4pwwl8 https://ci.appveyor.com/project/ruby/ruby/builds/44579924/job/n81xmb2mqs6no7dm https://ci.appveyor.com/project/ruby/ruby/builds/44558471/job/s4qwymmlxmfjjd35 Until we figure out what it is, I'd like to stabilize the CI by not running it.
This commit is contained in:
parent
8706b74b90
commit
52560a9263
1 changed files with 6 additions and 0 deletions
|
@ -2,6 +2,12 @@
|
||||||
require_relative 'base'
|
require_relative 'base'
|
||||||
|
|
||||||
class TestMkmfTryConstant < TestMkmf
|
class TestMkmfTryConstant < TestMkmf
|
||||||
|
def setup
|
||||||
|
if ENV.key?('APPVEYOR')
|
||||||
|
omit 'This test fails too often on AppVeyor'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
def test_simple
|
def test_simple
|
||||||
assert_equal( 0, mkmf {try_constant("0")}, MKMFLOG)
|
assert_equal( 0, mkmf {try_constant("0")}, MKMFLOG)
|
||||||
assert_equal( 1, mkmf {try_constant("1")}, MKMFLOG)
|
assert_equal( 1, mkmf {try_constant("1")}, MKMFLOG)
|
||||||
|
|
Loading…
Reference in a new issue