aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_installer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_installer.rb')
-rw-r--r--test/rubygems/test_gem_installer.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_installer.rb b/test/rubygems/test_gem_installer.rb
index cf35a534b9..3f3d4c5a00 100644
--- a/test/rubygems/test_gem_installer.rb
+++ b/test/rubygems/test_gem_installer.rb
@@ -1060,6 +1060,7 @@ gem 'other', version
end
def test_install_extension_flat
+ skip '1.8 mkmf.rb does not create TOUCH' if RUBY_VERSION < '1.9'
@spec.require_paths = ["."]
@spec.extensions << "extconf.rb"
@@ -1089,6 +1090,13 @@ gem 'other', version
@installer.install
end
assert File.exist?(so)
+ rescue
+ puts '-' * 78
+ puts File.read File.join(@gemhome, 'gems', 'a-2', 'Makefile')
+ puts '-' * 78
+ puts File.read File.join(@gemhome, 'gems', 'a-2', 'gem_make.out')
+ puts '-' * 78
+ raise
end
def test_installation_satisfies_dependency_eh