Actions
Bug #3452
closedENV 'make' is not considered in the rubygems test.
Description
=begin
Hi, Eric
the test fails follows.
$make=which make
ruby test/rubygems/test_gem_ext_configure_builder.rb
- Failure:
test_self_build(TestGemExtConfigureBuilder) [test/rubygems/test_gem_ext_configure_builder.rb:33]:
Expected "make", not "/usr/bin/make". - Failure:
test_self_build_has_makefile(TestGemExtConfigureBuilder) [test/rubygems/test_gem_ext_configure_builder.rb:79]:
Expected "make", not "/usr/bin/make".
on Windows,
nmake install test-all
also fails.
because defined MAKE by 'install' target, and environment's variable name is not case-sensitive on Windows.
I have some questions.
-
Is it intentional to use not ENV['MAKE'] but ENV['make'] at rubygems/ext/builder.rb ?
-
What do you want to test by test_self_build, test_self_build_has_makefile, test_class_build and test_clas_make?
Is it necessary to check make command?
If you think that, you should do unsetenv or check ENV.
I think that the redefine of MAKE at 'make install' is wrong, but it is another problem.
=end
Actions
Like0
Like0Like0Like0Like0