aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_ext_configure_builder.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-01 21:50:14 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-01 21:50:14 +0000
commiteffdbf5936cc090a618e13c8f9a1b5412ebab2fa (patch)
treec8410a18cbbe7ad013470fc06fef0c75ce0fd230 /test/rubygems/test_gem_ext_configure_builder.rb
parent9c4ef4b191a1e6b9abdbb21c7c709d1d0f2397e6 (diff)
downloadruby-effdbf5936cc090a618e13c8f9a1b5412ebab2fa.tar.gz
* lib/rubygems: Update to RubyGems HEAD(c202db2).
this version contains many enhancements see http://git.io/vtNwF * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_ext_configure_builder.rb')
-rw-r--r--test/rubygems/test_gem_ext_configure_builder.rb12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/rubygems/test_gem_ext_configure_builder.rb b/test/rubygems/test_gem_ext_configure_builder.rb
index 34e9fccd46..610d60a920 100644
--- a/test/rubygems/test_gem_ext_configure_builder.rb
+++ b/test/rubygems/test_gem_ext_configure_builder.rb
@@ -29,12 +29,16 @@ class TestGemExtConfigureBuilder < Gem::TestCase
Gem::Ext::ConfigureBuilder.build nil, nil, @dest_path, output
end
+ assert_match(/^current directory:/, output.shift)
assert_equal "sh ./configure --prefix=#{@dest_path}", output.shift
assert_equal "", output.shift
+ assert_match(/^current directory:/, output.shift)
assert_contains_make_command 'clean', output.shift
assert_match(/^ok$/m, output.shift)
+ assert_match(/^current directory:/, output.shift)
assert_contains_make_command '', output.shift
assert_match(/^ok$/m, output.shift)
+ assert_match(/^current directory:/, output.shift)
assert_contains_make_command 'install', output.shift
assert_match(/^ok$/m, output.shift)
end
@@ -54,6 +58,7 @@ class TestGemExtConfigureBuilder < Gem::TestCase
assert_match 'configure failed', error.message
+ assert_match(/^current directory:/, output.shift)
assert_equal "#{sh_prefix_configure}#{@dest_path}", output.shift
assert_match %r(#{shell_error_msg}), output.shift
assert_equal true, output.empty?
@@ -73,10 +78,9 @@ class TestGemExtConfigureBuilder < Gem::TestCase
Gem::Ext::ConfigureBuilder.build nil, nil, @dest_path, output
end
- assert_contains_make_command 'clean', output[0]
- assert_contains_make_command '', output[2]
- assert_contains_make_command 'install', output[4]
+ assert_contains_make_command 'clean', output[1]
+ assert_contains_make_command '', output[4]
+ assert_contains_make_command 'install', output[7]
end
end
-