Skip to content

Commit

Permalink
[rubygems/rubygems] remove test skips/pends on mswin platform
Browse files Browse the repository at this point in the history
  • Loading branch information
MSP-Greg authored and matzbot committed Mar 24, 2023
1 parent 2759cf4 commit 7149f57
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/rubygems/test_gem_commands_exec_command.rb
Expand Up @@ -216,7 +216,7 @@ def test_gem_with_platform_dependencies

def test_gem_with_platform_and_platform_dependencies
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|
fetcher.download "a", 2 do |s|
Expand Down
6 changes: 3 additions & 3 deletions test/rubygems/test_gem_ext_builder.rb
Expand Up @@ -105,7 +105,7 @@ def test_custom_make_with_options
end

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"

ext_dir = File.join @spec.gem_dir, "ext"
Expand Down Expand Up @@ -141,7 +141,7 @@ def test_build_extensions
end

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"
File.rename(@gemhome, new_gemhome)
@gemhome = new_gemhome
Expand All @@ -162,7 +162,7 @@ def Gem.install_extension_in_lib
false
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"

Expand Down
2 changes: 1 addition & 1 deletion test/rubygems/test_gem_installer.rb
Expand Up @@ -1496,7 +1496,7 @@ def test_find_lib_file_after_install

def test_install_extension_and_script
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.extensions << "extconf.rb"
Expand Down
2 changes: 1 addition & 1 deletion test/rubygems/test_gem_resolver_git_specification.rb
Expand Up @@ -65,7 +65,7 @@ def test_install

def test_install_extension
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|
s.extensions << "ext/extconf.rb"
end
Expand Down

0 comments on commit 7149f57

Please sign in to comment.