summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_stub_specification.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_stub_specification.rb')
-rw-r--r--test/rubygems/test_gem_stub_specification.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_stub_specification.rb b/test/rubygems/test_gem_stub_specification.rb
index 10f8c04a0e..8553194c44 100644
--- a/test/rubygems/test_gem_stub_specification.rb
+++ b/test/rubygems/test_gem_stub_specification.rb
@@ -67,6 +67,7 @@ class TestStubSpecification < Gem::TestCase
end
def test_contains_requirable_file_eh_extension
+ skip "I guess making the stub match the running platform should work" if Gem.java_platform?
stub_with_extension do |stub|
_, err = capture_io do
refute stub.contains_requirable_file? 'nonexistent'
@@ -123,6 +124,7 @@ class TestStubSpecification < Gem::TestCase
end
def test_missing_extensions_eh
+ skip "I guess making the stub match the running platform should work" if Gem.java_platform?
stub = stub_with_extension do |s|
extconf_rb = File.join s.gem_dir, s.extensions.first
FileUtils.mkdir_p File.dirname extconf_rb