mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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:
parent
70c9bb4b81
commit
20d81b4287
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue