Skip to content

Commit 0b14513

Browse files
committed
Replace skip to pend
1 parent d110016 commit 0b14513

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

test/rubygems/test_gem_ext_configure_builder.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def setup
1717
end
1818

1919
def test_self_build
20-
skip("test_self_build skipped on MS Windows (VC++)") if vc_windows?
20+
pend("test_self_build skipped on MS Windows (VC++)") if vc_windows?
2121

2222
File.open File.join(@ext, './configure'), 'w' do |configure|
2323
configure.puts "#!/bin/sh\necho \"#{@makefile_body}\" > Makefile"
@@ -42,7 +42,7 @@ def test_self_build
4242
end
4343

4444
def test_self_build_fail
45-
skip("test_self_build_fail skipped on MS Windows (VC++)") if vc_windows?
45+
pend("test_self_build_fail skipped on MS Windows (VC++)") if vc_windows?
4646
output = []
4747

4848
error = assert_raise Gem::InstallError do
@@ -62,7 +62,7 @@ def test_self_build_fail
6262

6363
def test_self_build_has_makefile
6464
if vc_windows? && !nmake_found?
65-
skip("test_self_build_has_makefile skipped - nmake not found")
65+
pend("test_self_build_has_makefile skipped - nmake not found")
6666
end
6767

6868
File.open File.join(@ext, 'Makefile'), 'w' do |makefile|

test/rubygems/test_gem_ext_ext_conf_builder.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ def setup
1616

1717
def test_class_build
1818
if java_platform?
19-
skip("failing on jruby")
19+
pend("failing on jruby")
2020
end
2121

2222
if vc_windows? && !nmake_found?
23-
skip("test_class_build skipped - nmake not found")
23+
pend("test_class_build skipped - nmake not found")
2424
end
2525

2626
File.open File.join(@ext, 'extconf.rb'), 'w' do |extconf|
@@ -45,7 +45,7 @@ def test_class_build
4545

4646
def test_class_build_rbconfig_make_prog
4747
if java_platform?
48-
skip("failing on jruby")
48+
pend("failing on jruby")
4949
end
5050

5151
configure_args do
@@ -70,7 +70,7 @@ def test_class_build_env_make
7070
ENV['MAKE'] = 'anothermake'
7171

7272
if java_platform?
73-
skip("failing on jruby")
73+
pend("failing on jruby")
7474
end
7575

7676
configure_args '' do
@@ -93,7 +93,7 @@ def test_class_build_env_make
9393

9494
def test_class_build_extconf_fail
9595
if vc_windows? && !nmake_found?
96-
skip("test_class_build_extconf_fail skipped - nmake not found")
96+
pend("test_class_build_extconf_fail skipped - nmake not found")
9797
end
9898

9999
File.open File.join(@ext, 'extconf.rb'), 'w' do |extconf|
@@ -119,7 +119,7 @@ def test_class_build_extconf_fail
119119

120120
def test_class_build_extconf_success_without_warning
121121
if vc_windows? && !nmake_found?
122-
skip("test_class_build_extconf_fail skipped - nmake not found")
122+
pend("test_class_build_extconf_fail skipped - nmake not found")
123123
end
124124

125125
File.open File.join(@ext, 'extconf.rb'), 'w' do |extconf|
@@ -139,7 +139,7 @@ def test_class_build_extconf_success_without_warning
139139

140140
def test_class_build_unconventional
141141
if vc_windows? && !nmake_found?
142-
skip("test_class_build skipped - nmake not found")
142+
pend("test_class_build skipped - nmake not found")
143143
end
144144

145145
File.open File.join(@ext, 'extconf.rb'), 'w' do |extconf|
@@ -180,7 +180,7 @@ def test_class_build_unconventional
180180

181181
def test_class_make
182182
if vc_windows? && !nmake_found?
183-
skip("test_class_make skipped - nmake not found")
183+
pend("test_class_make skipped - nmake not found")
184184
end
185185

186186
output = []

test/rubygems/test_gem_install_update_options.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ def test_user_install_disabled_read_only
137137
@gem = @spec.cache_file
138138

139139
if win_platform?
140-
skip('test_user_install_disabled_read_only test skipped on MS Windows')
140+
pend('test_user_install_disabled_read_only test skipped on MS Windows')
141141
elsif Process.uid.zero?
142-
skip('test_user_install_disabled_read_only test skipped in root privilege')
142+
pend('test_user_install_disabled_read_only test skipped in root privilege')
143143
else
144144
@cmd.handle_options %w[--no-user-install]
145145

test/rubygems/test_gem_installer.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -458,9 +458,9 @@ def test_generate_bin_script_no_perms
458458
Dir.mkdir util_inst_bindir
459459

460460
if win_platform?
461-
skip('test_generate_bin_script_no_perms skipped on MS Windows')
461+
pend('test_generate_bin_script_no_perms skipped on MS Windows')
462462
elsif Process.uid.zero?
463-
skip('test_generate_bin_script_no_perms skipped in root privilege')
463+
pend('test_generate_bin_script_no_perms skipped in root privilege')
464464
else
465465
FileUtils.chmod 0000, util_inst_bindir
466466

@@ -562,9 +562,9 @@ def test_generate_bin_symlink_no_perms
562562
Dir.mkdir util_inst_bindir
563563

564564
if win_platform?
565-
skip('test_generate_bin_symlink_no_perms skipped on MS Windows')
565+
pend('test_generate_bin_symlink_no_perms skipped on MS Windows')
566566
elsif Process.uid.zero?
567-
skip('test_user_install_disabled_read_only test skipped in root privilege')
567+
pend('test_user_install_disabled_read_only test skipped in root privilege')
568568
else
569569
FileUtils.chmod 0000, util_inst_bindir
570570

0 commit comments

Comments
 (0)