diff options
author | tarui <tarui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-28 16:01:22 +0000 |
---|---|---|
committer | tarui <tarui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-28 16:01:22 +0000 |
commit | 5f960a9ca26a3c4205aa9de7f0d961f0fe225935 (patch) | |
tree | 27eb6aef822262cc0f381748b592f17ebf6f9bd5 /test/rubygems/test_gem_ext_ext_conf_builder.rb | |
parent | 5b5c6378c7758af3b264972250f715c054ed0a37 (diff) | |
download | ruby-5f960a9ca26a3c4205aa9de7f0d961f0fe225935.tar.gz |
* test/rubygems/gemutilities.rb: check ENV['make'] for make_command.
* test/rubygems/test_gem_ext_configure_builder.rb: use gemutilities' make_command.
* test/rubygems/test_gem_ext_ext_conf_builder.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_ext_ext_conf_builder.rb')
-rw-r--r-- | test/rubygems/test_gem_ext_ext_conf_builder.rb | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/test/rubygems/test_gem_ext_ext_conf_builder.rb b/test/rubygems/test_gem_ext_ext_conf_builder.rb index 84af0730a0..d9483df2de 100644 --- a/test/rubygems/test_gem_ext_ext_conf_builder.rb +++ b/test/rubygems/test_gem_ext_ext_conf_builder.rb @@ -39,14 +39,8 @@ class TestGemExtExtConfBuilder < RubyGemTestCase assert_match(/^#{Gem.ruby} extconf.rb/, output[0]) assert_equal "creating Makefile\n", output[1] - case RUBY_PLATFORM - when /mswin/ then - assert_equal "nmake", output[2] - assert_equal "nmake install", output[4] - else - assert_equal "make", output[2] - assert_equal "make install", output[4] - end + assert_equal make_command, output[2] + assert_equal make_command + " install", output[4] end def test_class_build_extconf_fail |