[rubygems/rubygems] remove test skips/pends on mswin platform

https://github.com/rubygems/rubygems/commit/1d52eff8bf
This commit is contained in:
MSP-Greg 2023-03-23 10:44:00 -05:00 committed by git
parent 2759cf46f2
commit 7149f5763e
4 changed files with 6 additions and 6 deletions

View File

@ -216,7 +216,7 @@ class TestGemCommandsExecCommand < Gem::TestCase
def test_gem_with_platform_and_platform_dependencies def test_gem_with_platform_and_platform_dependencies
pend "extensions don't quite work on jruby" if Gem.java_platform? pend "extensions don't quite work on jruby" if Gem.java_platform?
pend "terminates on mswin" if Gem.win_platform? && ruby_repo? pend "terminates on mswin" if vc_windows? && ruby_repo?
spec_fetcher do |fetcher| spec_fetcher do |fetcher|
fetcher.download "a", 2 do |s| fetcher.download "a", 2 do |s|

View File

@ -105,7 +105,7 @@ install:
end end
def test_build_extensions def test_build_extensions
pend if RUBY_PLATFORM.include?("mswin") && ENV.key?("GITHUB_ACTIONS") # not working from the beginning pend "terminates on mswin" if vc_windows? && ruby_repo?
@spec.extensions << "ext/extconf.rb" @spec.extensions << "ext/extconf.rb"
ext_dir = File.join @spec.gem_dir, "ext" ext_dir = File.join @spec.gem_dir, "ext"
@ -141,7 +141,7 @@ install:
end end
def test_build_extensions_with_gemhome_with_space def test_build_extensions_with_gemhome_with_space
pend if RUBY_PLATFORM.include?("mswin") && ENV.key?("GITHUB_ACTIONS") # not working from the beginning pend "terminates on mswin" if vc_windows? && ruby_repo?
new_gemhome = File.join @tempdir, "gem home" new_gemhome = File.join @tempdir, "gem home"
File.rename(@gemhome, new_gemhome) File.rename(@gemhome, new_gemhome)
@gemhome = new_gemhome @gemhome = new_gemhome
@ -162,7 +162,7 @@ install:
false false
end end
end end
pend if RUBY_PLATFORM.include?("mswin") && ENV.key?("GITHUB_ACTIONS") # not working from the beginning pend "terminates on mswin" if vc_windows? && ruby_repo?
@spec.extensions << "ext/extconf.rb" @spec.extensions << "ext/extconf.rb"

View File

@ -1496,7 +1496,7 @@ gem 'other', version
def test_install_extension_and_script def test_install_extension_and_script
pend "Makefile creation crashes on jruby" if Gem.java_platform? pend "Makefile creation crashes on jruby" if Gem.java_platform?
pend if RUBY_PLATFORM.include?("mswin") && ENV.key?("GITHUB_ACTIONS") # not working from the beginning pend "terminates on mswin" if vc_windows? && ruby_repo?
@spec = setup_base_spec @spec = setup_base_spec
@spec.extensions << "extconf.rb" @spec.extensions << "extconf.rb"

View File

@ -65,7 +65,7 @@ class TestGemResolverGitSpecification < Gem::TestCase
def test_install_extension def test_install_extension
pend if Gem.java_platform? pend if Gem.java_platform?
pend if RUBY_PLATFORM.include?("mswin") && ENV.key?("GITHUB_ACTIONS") # not working from the beginning pend "terminates on mswin" if vc_windows? && ruby_repo?
name, _, repository, = git_gem "a", 1 do |s| name, _, repository, = git_gem "a", 1 do |s|
s.extensions << "ext/extconf.rb" s.extensions << "ext/extconf.rb"
end end