diff options
author | MSP-Greg <Greg.mpls@gmail.com> | 2023-03-23 10:44:00 -0500 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-03-24 13:00:53 +0000 |
commit | 7149f5763ea121b71ad0763cd8554bc663d8eedd (patch) | |
tree | ccaa78c5d5995fbcfb82d1e3d463c237fe7cb2d5 /test/rubygems | |
parent | 2759cf46f28b1f5ba52f6b7686fd23cb8d792ede (diff) |
[rubygems/rubygems] remove test skips/pends on mswin platform
https://github.com/rubygems/rubygems/commit/1d52eff8bf
Diffstat (limited to 'test/rubygems')
-rw-r--r-- | test/rubygems/test_gem_commands_exec_command.rb | 2 | ||||
-rw-r--r-- | test/rubygems/test_gem_ext_builder.rb | 6 | ||||
-rw-r--r-- | test/rubygems/test_gem_installer.rb | 2 | ||||
-rw-r--r-- | test/rubygems/test_gem_resolver_git_specification.rb | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/test/rubygems/test_gem_commands_exec_command.rb b/test/rubygems/test_gem_commands_exec_command.rb index 1f94113d6c..5e88249ac7 100644 --- a/test/rubygems/test_gem_commands_exec_command.rb +++ b/test/rubygems/test_gem_commands_exec_command.rb @@ -216,7 +216,7 @@ class TestGemCommandsExecCommand < Gem::TestCase 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| diff --git a/test/rubygems/test_gem_ext_builder.rb b/test/rubygems/test_gem_ext_builder.rb index 01b40445c5..3decab78b0 100644 --- a/test/rubygems/test_gem_ext_builder.rb +++ b/test/rubygems/test_gem_ext_builder.rb @@ -105,7 +105,7 @@ install: 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" @@ -141,7 +141,7 @@ install: 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 @@ -162,7 +162,7 @@ install: 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" diff --git a/test/rubygems/test_gem_installer.rb b/test/rubygems/test_gem_installer.rb index fc9772b92e..95f825e170 100644 --- a/test/rubygems/test_gem_installer.rb +++ b/test/rubygems/test_gem_installer.rb @@ -1496,7 +1496,7 @@ gem 'other', version 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" diff --git a/test/rubygems/test_gem_resolver_git_specification.rb b/test/rubygems/test_gem_resolver_git_specification.rb index 4e3df10fb9..621333d3bf 100644 --- a/test/rubygems/test_gem_resolver_git_specification.rb +++ b/test/rubygems/test_gem_resolver_git_specification.rb @@ -65,7 +65,7 @@ class TestGemResolverGitSpecification < Gem::TestCase 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 |