mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Make sure super is called and fix teardown
This commit is contained in:
parent
52560a9263
commit
af9fa16c96
2 changed files with 3 additions and 0 deletions
|
@ -106,6 +106,7 @@ class TestMkmf < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def teardown
|
def teardown
|
||||||
|
return if @omitted
|
||||||
rbconfig0 = @rbconfig
|
rbconfig0 = @rbconfig
|
||||||
mkconfig0 = @mkconfig
|
mkconfig0 = @mkconfig
|
||||||
RbConfig.module_eval {
|
RbConfig.module_eval {
|
||||||
|
|
|
@ -4,8 +4,10 @@ require_relative 'base'
|
||||||
class TestMkmfTryConstant < TestMkmf
|
class TestMkmfTryConstant < TestMkmf
|
||||||
def setup
|
def setup
|
||||||
if ENV.key?('APPVEYOR')
|
if ENV.key?('APPVEYOR')
|
||||||
|
@omitted = true
|
||||||
omit 'This test fails too often on AppVeyor'
|
omit 'This test fails too often on AppVeyor'
|
||||||
end
|
end
|
||||||
|
super
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_simple
|
def test_simple
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue