ruby-changes:39702
From: nobu <ko1@a...>
Date: Mon, 7 Sep 2015 17:51:28 +0900 (JST)
Subject: [ruby-changes:39702] nobu:r51783 (trunk): test_framework.rb: use Ruby framework
nobu 2015-09-07 17:51:01 +0900 (Mon, 07 Sep 2015) New Revision: 51783 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51783 Log: test_framework.rb: use Ruby framework * test/mkmf/test_framework.rb (test_single_framework): use Ruby framework, as CoreFoundation framework uses Apple extensions unsupported by standard GCC other than Apple-patched clang. * 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 51782) +++ test/mkmf/test_framework.rb (revision 51783) @@ -20,12 +20,12 @@ class TestMkmf https://github.com/ruby/ruby/blob/trunk/test/mkmf/test_framework.rb#L20 end end - def test_core_foundation_framework - assert(have_framework("CoreFoundation"), mkmflog("try as Objective-C")) + def test_single_framework + assert(have_framework("Ruby"), mkmflog("try as Objective-C")) end def test_multi_frameworks - assert(have_framework("CoreFoundation"), mkmflog("try as Objective-C")) + assert(have_framework("Ruby"), 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/