Hiroshi SHIBATA 2023-04-04 10:43:24 +09:00 коммит произвёл git
Родитель 6a4087702b
Коммит 822f01b36c
2 изменённых файлов: 15 добавлений и 0 удалений

Просмотреть файл

@ -1175,6 +1175,20 @@ Also, a list:
RUBY_PLATFORM.match("mswin")
end
##
# Is this test being run on a version of Ruby built with mingw?
def self.mingw_windows?
RUBY_PLATFORM.match("mingw")
end
##
# Is this test being run on a version of Ruby built with mingw?
def mingw_windows?
RUBY_PLATFORM.match("mingw")
end
##
# Is this test being run on a ruby/ruby repository?
#

Просмотреть файл

@ -145,6 +145,7 @@ class TestGemExtCargoBuilder < Gem::TestCase
system(@rust_envs, "cargo", "-V", out: IO::NULL, err: [:child, :out])
pend "cargo not present" unless $?.success?
pend "ruby.h is not provided by ruby repo" if ruby_repo?
pend "rust toolchain of mingw is broken" if mingw_windows?
end
def assert_ffi_handle(bundle, name)