1
0
Fork 0
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:
Takashi Kokubun 2022-08-25 11:31:16 -07:00
parent 52560a9263
commit af9fa16c96
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD
2 changed files with 3 additions and 0 deletions

View file

@ -106,6 +106,7 @@ class TestMkmf < Test::Unit::TestCase
end
def teardown
return if @omitted
rbconfig0 = @rbconfig
mkconfig0 = @mkconfig
RbConfig.module_eval {

View file

@ -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