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
|
||||
|
||||
def teardown
|
||||
return if @omitted
|
||||
rbconfig0 = @rbconfig
|
||||
mkconfig0 = @mkconfig
|
||||
RbConfig.module_eval {
|
||||
|
|
|
@ -4,8 +4,10 @@ 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
|
||||
|
|
Loading…
Reference in a new issue