mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ENV['MAKE'] is prior than ENV['make']
some CI uses ENV['MAKE'] to specify gmake git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
303abc5ab8
commit
9f95139363
1 changed files with 3 additions and 3 deletions
|
@ -64,8 +64,8 @@ class TestGemExtExtConfBuilder < Gem::TestCase
|
|||
end
|
||||
|
||||
def test_class_build_env_make
|
||||
env_make = ENV.delete 'make'
|
||||
ENV['make'] = 'anothermake'
|
||||
env_make = ENV.delete 'MAKE'
|
||||
ENV['MAKE'] = 'anothermake'
|
||||
|
||||
configure_args '' do
|
||||
File.open File.join(@ext, 'extconf.rb'), 'w' do |extconf|
|
||||
|
@ -84,7 +84,7 @@ class TestGemExtExtConfBuilder < Gem::TestCase
|
|||
assert_contains_make_command 'clean', output[4]
|
||||
end
|
||||
ensure
|
||||
ENV['make'] = env_make
|
||||
ENV['MAKE'] = env_make
|
||||
end
|
||||
|
||||
def test_class_build_extconf_fail
|
||||
|
|
Loading…
Reference in a new issue