test_framework.rb: for case-sensitive filesystem

* test/mkmf/test_framework.rb (test_single_framework): fix header
  file name for case-sensitive filesystem.  it may not be same as
  the framework name, but should be the actual file name.
  [ruby-dev:50093] [Bug #13489]

* test/mkmf/test_framework.rb (test_multi_frameworks): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2017-04-21 06:12:27 +00:00
Родитель 70c9bb4b81
Коммит 20d81b4287
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -22,11 +22,11 @@ class TestMkmf
end
def test_single_framework
assert(have_framework("Ruby"), mkmflog("try as Objective-C"))
assert(have_framework(%w"Ruby ruby.h"), mkmflog("try as Objective-C"))
end
def test_multi_frameworks
assert(have_framework("Ruby"), mkmflog("try as Objective-C"))
assert(have_framework(%w"Ruby ruby.h"), mkmflog("try as Objective-C"))
create_framework("MkmfTest") do |fw|
assert(have_framework(fw), MKMFLOG)
end