ruby-changes:46317
From: nobu <ko1@a...>
Date: Fri, 21 Apr 2017 15:12:31 +0900 (JST)
Subject: [ruby-changes:46317] nobu:r58431 (trunk): test_framework.rb: for case-sensitive filesystem
nobu 2017-04-21 15:12:27 +0900 (Fri, 21 Apr 2017) New Revision: 58431 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58431 Log: 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. Modified files: trunk/test/mkmf/test_framework.rb Index: test/mkmf/test_framework.rb =================================================================== --- test/mkmf/test_framework.rb (revision 58430) +++ test/mkmf/test_framework.rb (revision 58431) @@ -22,11 +22,11 @@ class TestMkmf https://github.com/ruby/ruby/blob/trunk/test/mkmf/test_framework.rb#L22 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/